- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected ';' in /in/8XK1W on line 15
Process exited with code 255.
<?php
$array = array(
'foo' => null,
'bar' => '',
'baz' => FALSE,
);
echo 'foo: ' . (string) empty($array['foo']);
echo "\n";
echo 'bar: ' . (string) empty($array['bar']);
echo "\n";
echo 'baz: ' . (string) empty($array['baz']);
echo "\n";
echo 'fizz: ' . (string (empty($array['fizz']);