3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function fake_news () { echo 'a'; if (fake_news()) { fake_news(); } }
based on fg2OZ
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:  2
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   8     1      > 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 7.3.0