[ create a new paste ] login | about

Link: http://codepad.org/wJlkjsww    [ raw code | output | fork ]

PHP, pasted on Mar 15:
1
2
3
4
5
6
7
8
9
10
<?php
$a = 0;

if (!empty($a)) {
 echo "not empty";
} else {
 echo "empty"
}

?>


Output:
1
2

Parse error: syntax error, unexpected '}', expecting ',' or ';' on line 8


Create a new paste based on this one


Comments: