3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('xdebug.max_nesting_level', 1000); function stackAlot($count) { if (--$count > 0) stackAlot($count); } stackAlot(200); echo 'all good';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Tev2d
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'xdebug.max_nesting_level'
          2        SEND_VAL                                                 1000
          3        DO_ICALL                                                 
   11     4        INIT_FCALL                                               'stackalot'
          5        SEND_VAL                                                 200
          6        DO_FCALL                                      0          
   13     7        ECHO                                                     'all+good'
          8      > RETURN                                                   1

Function stackalot:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/Tev2d
function name:  stackAlot
number of ops:  8
compiled vars:  !0 = $count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        PRE_DEC                                          ~1      !0
          2        IS_SMALLER                                               0, ~1
          3      > JMPZ                                                     ~2, ->7
    8     4    >   INIT_FCALL_BY_NAME                                       'stackAlot'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
    9     7    > > RETURN                                                   null

End of function stackalot

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.68 ms | 1397 KiB | 16 Q