[ create a new paste ] login | about

Link: http://codepad.org/EORE4k7v    [ raw code | output | fork | 2 comments ]

PHP, pasted on Sep 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

$arr = array();

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

?>


Output:
1
empty


Create a new paste based on this one


Comments:
posted by wqdw on Dec 8
wefewfewf
reply
posted by yjy on Sep 13
yjuyjy
reply