3v4l.org

run code in 300+ PHP versions simultaneously
<?php function printHello($hello) { echo $hello . PHP_EOL; } printHello('hello'); printHello(); printHello('hello', 'minna-san');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mSn4Y
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'printhello'
          1        SEND_VAL                                                 'hello'
          2        DO_FCALL                                      0          
    9     3        INIT_FCALL                                               'printhello'
          4        DO_FCALL                                      0          
   10     5        INIT_FCALL                                               'printhello'
          6        SEND_VAL                                                 'hello'
          7        SEND_VAL                                                 'minna-san'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function printhello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mSn4Y
function name:  printHello
number of ops:  4
compiled vars:  !0 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        CONCAT                                           ~1      !0, '%0A'
          2        ECHO                                                     ~1
    6     3      > RETURN                                                   null

End of function printhello

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.82 ms | 1397 KiB | 16 Q