3v4l.org

run code in 500+ PHP versions simultaneously
<?php function noprms(){ $count = func_num_args(); $args = func_get_args(); echo "There were $count arguments passed \n"; echo "Number ".implode(",\nNumber ",$args)."\n"; } noprms(1,2,3,4,5)."\n"; noprms(1,2,3,4,5,6,7,8,9)."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H2jCj
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'noprms'
          1        SEND_VAL                                                     1
          2        SEND_VAL                                                     2
          3        SEND_VAL                                                     3
          4        SEND_VAL                                                     4
          5        SEND_VAL                                                     5
          6        DO_FCALL                                          0  $0      
          7        CONCAT                                               ~1      $0, '%0A'
          8        FREE                                                         ~1
   11     9        INIT_FCALL                                                   'noprms'
         10        SEND_VAL                                                     1
         11        SEND_VAL                                                     2
         12        SEND_VAL                                                     3
         13        SEND_VAL                                                     4
         14        SEND_VAL                                                     5
         15        SEND_VAL                                                     6
         16        SEND_VAL                                                     7
         17        SEND_VAL                                                     8
         18        SEND_VAL                                                     9
         19        DO_FCALL                                          0  $2      
         20        CONCAT                                               ~3      $2, '%0A'
         21        FREE                                                         ~3
         22      > RETURN                                                       1

Function noprms:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H2jCj
function name:  noprms
number of ops:  13
compiled vars:  !0 = $count, !1 = $args
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   FUNC_NUM_ARGS                                        ~2      
          1        ASSIGN                                                       !0, ~2
    5     2        FUNC_GET_ARGS                                        ~4      
          3        ASSIGN                                                       !1, ~4
    6     4        ROPE_INIT                                         3  ~7      'There+were+'
          5        ROPE_ADD                                          1  ~7      ~7, !0
          6        ROPE_END                                          2  ~6      ~7, '+arguments+passed+%0A'
          7        ECHO                                                         ~6
    7     8        FRAMELESS_ICALL_2                implode             ~9      '%2C%0ANumber+', !1
          9        CONCAT                                               ~10     'Number+', ~9
         10        CONCAT                                               ~11     ~10, '%0A'
         11        ECHO                                                         ~11
    8    12      > RETURN                                                       null

End of function noprms

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.82 ms | 2402 KiB | 15 Q