3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = "hello world"; echo "{$val} and other planets!"; function sayHello($name) { echo "Hello {$name}, how are you?"; } sayHello(Angus); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljAco
function name:  (null)
number of ops:  9
compiled vars:  !0 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hello+world'
    4     1        NOP                                                      
          2        FAST_CONCAT                                      ~2      !0, '+and+other+planets%21'
          3        ECHO                                                     ~2
   10     4        INIT_FCALL                                               'sayhello'
          5        FETCH_CONSTANT                                   ~3      'Angus'
          6        SEND_VAL                                                 ~3
          7        DO_FCALL                                      0          
   13     8      > RETURN                                                   1

Function sayhello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljAco
function name:  sayHello
number of ops:  6
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        ROPE_INIT                                     3  ~2      'Hello+'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%2C+how+are+you%3F'
          4        ECHO                                                     ~1
    8     5      > RETURN                                                   null

End of function sayhello

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.82 ms | 1397 KiB | 14 Q