phc /test/subjects/parsing/empty.php

Language PHP Lines 22
MD5 Hash a86ec67a1dee541bf809e8b5fe4bf708 Estimated Cost $283 (why?)
Repository http://phc.googlecode.com/svn/trunk/ View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

if( empty($x) )
{
	echo "x is empty";
}
else
	echo "x is not empty";

$x = 7;

if( empty($x) )
{
	echo "x is empty";
}
else
	echo "x is not empty";



?>
Back to Top