3v4l.org

run code in 300+ PHP versions simultaneously
<?php $directoryIterator = new DirectoryIterator('/'); function segfault($directoryIterator) { segfault($directoryIterator); } segfault($directoryIterator);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JL85J
function name:  (null)
number of ops:  8
compiled vars:  !0 = $directoryIterator
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DirectoryIterator'
          1        SEND_VAL_EX                                              '%2F'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    6     4        INIT_FCALL                                               'segfault'
          5        SEND_VAR                                                 !0
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Function segfault:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JL85J
function name:  segfault
number of ops:  5
compiled vars:  !0 = $directoryIterator
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL_BY_NAME                                       'segfault'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
    5     4      > RETURN                                                   null

End of function segfault

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1388 KiB | 14 Q