3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = function () { echo 'Hello pikabu!'; }; $b = 'a'; $c = 'b'; $$$c();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BX0ZT
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                              ~3      [0]
          1        ASSIGN                                                       !0, ~3
    7     2        ASSIGN                                                       !1, 'a'
    8     3        ASSIGN                                                       !2, 'b'
    9     4        FETCH_R                          local               ~7      !2
          5        FETCH_R                          local               ~8      ~7
          6        INIT_DYNAMIC_CALL                                            ~8
          7        DO_FCALL                                          0          
          8      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BX0ZT
function name:  {closure:/in/BX0ZT:3}
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                         'Hello+pikabu%21'
    5     1      > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
1211.09 ms | 1419 KiB | 8 Q