3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fake_news () { echo 'a'; if (fake_news()) { fake_news(); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KpIv3
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Function fake_news:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/KpIv3
function name:  fake_news
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'a'
    5     1        INIT_FCALL_BY_NAME                                       'fake_news'
          2        DO_FCALL                                      0  $0      
          3      > JMPZ                                                     $0, ->6
    6     4    >   INIT_FCALL_BY_NAME                                       'fake_news'
          5        DO_FCALL                                      0          
    8     6    > > RETURN                                                   null

End of function fake_news

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
203.89 ms | 1393 KiB | 13 Q