3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=array ( 'v' => array ( 0 => array ( 0 => 'v0_0', 1 => 'v0_1', 2 => 'v0_2', ), 1 => array ( 0 => 'v1_0', 1 => 'v1_1', 2 => 'v1_2', ), 2 => array ( 0 => 'v2_0', 1 => 'v2_1', 2 => 'v2_2', ), ), ); echo count($a,1) - count( $a); # <-- 13
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
12
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/Ndi2b on line 27
Process exited with code 255.