3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array_fruit = array('りんご', 'メロン', 'トマト'); $count1 = count($array_fruit); var_dump($count1); $hoge = NULL; $count1 = count($hoge); var_dump($count1);
Output for 4.3.0 - 7.1.0
int(3) int(0)