3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test ($str) { echo $str; } $a = 'st'; 'te'.$a('hello');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U0VNY
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'st'
    6     1        INIT_DYNAMIC_CALL                                        !0
          2        SEND_VAL_EX                                              'hello'
          3        DO_FCALL                                      0  $2      
          4        CONCAT                                           ~3      'te', $2
          5        FREE                                                     ~3
          6      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/U0VNY
function name:  test
number of ops:  3
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ECHO                                                     !0
    4     2      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.3 ms | 1384 KiB | 13 Q