3v4l.org

run code in 500+ PHP versions simultaneously
<?php function funсtion($foo) { functiоn($foo, $foo, $foo); } function functiоn($fоo, $foo, $foо) { echo $fоo . $foо . $foo; } functiоn('foo', 'bar', funсtion('baz'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoGQM
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                                   'functi%D0%BEn'
          1        SEND_VAL                                                     'foo'
          2        SEND_VAL                                                     'bar'
          3        INIT_FCALL                                                   'fun%D1%81tion'
          4        SEND_VAL                                                     'baz'
          5        DO_FCALL                                          0  $0      
          6        SEND_VAR                                                     $0
          7        DO_FCALL                                          0          
          8      > RETURN                                                       1

Function fun%D1%81tion:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoGQM
function name:  funсtion
number of ops:  7
compiled vars:  !0 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    4     1        INIT_FCALL_BY_NAME                                           'functi%D0%BEn'
          2        SEND_VAR_EX                                                  !0
          3        SEND_VAR_EX                                                  !0
          4        SEND_VAR_EX                                                  !0
          5        DO_FCALL                                          0          
    5     6      > RETURN                                                       null

End of function fun%D1%81tion

Function functi%D0%BEn:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoGQM
function name:  functiоn
number of ops:  7
compiled vars:  !0 = $fоo, !1 = $foo, !2 = $foо
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        RECV                                                 !2      
    8     3        CONCAT                                               ~3      !0, !2
          4        CONCAT                                               ~4      ~3, !1
          5        ECHO                                                         ~4
    9     6      > RETURN                                                       null

End of function functi%D0%BEn

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.2 ms | 1410 KiB | 15 Q