3v4l.org

run code in 300+ PHP versions simultaneously
<?php function echoTest() { ob_start(); echo 'function'; } echo 'I am in a ' . echoTest(); echo ob_get_contents(); ob_end_clean();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvZUI
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'echotest'
          1        DO_FCALL                                      0  $0      
          2        CONCAT                                           ~1      'I+am+in+a+', $0
          3        ECHO                                                     ~1
    9     4        INIT_FCALL                                               'ob_get_contents'
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
   10     7        INIT_FCALL                                               'ob_end_clean'
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function echotest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvZUI
function name:  echoTest
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    5     2        ECHO                                                     'function'
    6     3      > RETURN                                                   null

End of function echotest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.01 ms | 1397 KiB | 20 Q