3v4l.org

run code in 300+ PHP versions simultaneously
<?php function info() { $data = func_get_args(); $format = array_shift($data); $message = vsprintf($format, $data); echo $message; } info('20% off');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vTqMv
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'info'
          1        SEND_VAL                                                 '20%25+off'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function info:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vTqMv
function name:  info
number of ops:  13
compiled vars:  !0 = $data, !1 = $format, !2 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FUNC_GET_ARGS                                    ~3      
          1        ASSIGN                                                   !0, ~3
    4     2        INIT_FCALL                                               'array_shift'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    5     6        INIT_FCALL                                               'vsprintf'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    6    11        ECHO                                                     !2
    7    12      > RETURN                                                   null

End of function info

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.2 ms | 1397 KiB | 18 Q