3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_test = array(1 => 'asd', 2 => 'dbc', 3 => 'true', 12 => 'end.'); echo sizeof($array_test).'<br>'; // будет 12 echo count($array_test); // будет 4
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cH0gW
function name:  (null)
number of ops:  7
compiled vars:  !0 = $array_test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~2      !0
          2        CONCAT                                           ~3      ~2, '%3Cbr%3E'
          3        ECHO                                                     ~3
    4     4        COUNT                                            ~4      !0
          5        ECHO                                                     ~4
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.96 ms | 1392 KiB | 13 Q