3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = [1,2,3=>[1,2,3]]; print_r($dir); class newsNews{ public function echo(){echo 1;} } (new newsNews())->echo(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OpMOU
function name:  (null)
number of ops:  9
compiled vars:  !0 = $dir
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    8     4        NEW                                              $3      'newsNews'
          5        DO_FCALL                                      0          
          6        INIT_METHOD_CALL                                         $3, 'echo'
          7        DO_FCALL                                      0          
    9     8      > RETURN                                                   1

Class newsNews:
Function echo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OpMOU
function name:  echo
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     1
          1      > RETURN                                                   null

End of function echo

End of class newsNews.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.92 ms | 1394 KiB | 15 Q