3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $items = false; $quantity = count($items); // default return value 1 with scalars unless var is null if ( $quantity) > 0) { echo "Sending you $quantity item(s)"; }
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '>' in /in/SvdZE on line 5
Process exited with code 255.