3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hello world($greeting=null){ $w = 'World'; echo "$greeting,$w!<br>\n"; } hello world('Howdy'); // Howdy, World! $command = "hello world"; $command('Hi'); // Hi, World! $content = "hello world"; echo $$content("Greetings"); // , World!
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/liRRQ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $command, !1 = $content
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'hello%C2%A0world'
          1        SEND_VAL                                                 'Howdy'
          2        DO_FCALL                                      0          
    8     3        ASSIGN                                                   !0, 'hello%C2%A0world'
    9     4        INIT_DYNAMIC_CALL                                        !0
          5        SEND_VAL_EX                                              'Hi'
          6        DO_FCALL                                      0          
   10     7        ASSIGN                                                   !1, 'hello%C2%A0world'
   11     8        FETCH_R                      local               ~6      !1
          9        INIT_DYNAMIC_CALL                                        ~6
         10        SEND_VAL_EX                                              'Greetings'
         11        DO_FCALL                                      0  $7      
         12        ECHO                                                     $7
         13      > RETURN                                                   1

Function hello%C2%A0world:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/liRRQ
function name:  hello world
number of ops:  8
compiled vars:  !0 = $greeting, !1 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
    4     1        ASSIGN                                                   !1, 'World'
    5     2        ROPE_INIT                                     4  ~4      !0
          3        ROPE_ADD                                      1  ~4      ~4, '%2C'
          4        ROPE_ADD                                      2  ~4      ~4, !1
          5        ROPE_END                                      3  ~3      ~4, '%21%3Cbr%3E%0A'
          6        ECHO                                                     ~3
    6     7      > RETURN                                                   null

End of function hello%C2%A0world

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.1 ms | 1389 KiB | 14 Q