3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getLine($lines, $num) { return $lines. "-" . $num; } getLine("01-02-03", "09");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/44j5G
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'getline'
          1        SEND_VAL                                                 '01-02-03'
          2        SEND_VAL                                                 '09'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function getline:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/44j5G
function name:  getLine
number of ops:  6
compiled vars:  !0 = $lines, !1 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2        CONCAT                                           ~2      !0, '-'
          3        CONCAT                                           ~3      ~2, !1
          4      > RETURN                                                   ~3
    4     5*     > RETURN                                                   null

End of function getline

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.76 ms | 1401 KiB | 14 Q