3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ab = array( array(0, 1, 2), array(3, 4, 5), ); echo $ab.length;
Output for 5.4.0 - 7.1.0
Notice: Use of undefined constant length - assumed 'length' in /in/2V491 on line 6 Notice: Array to string conversion in /in/2V491 on line 6 Arraylength
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant length - assumed 'length' in /in/2V491 on line 6 Arraylength