3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_fruit = array('りんご', 'メロン', 'トマト'); $count1 = count($array_fruit); var_dump($count1); $hoge = NULL; $count1 = count($hoge); var_dump($count1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gQgaW
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array_fruit, !1 = $count1, !2 = $hoge
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~4      !0
          2        ASSIGN                                                   !1, ~4
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
    5     6        ASSIGN                                                   !2, null
    6     7        COUNT                                            ~8      !2
          8        ASSIGN                                                   !1, ~8
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.24 ms | 1394 KiB | 15 Q