3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hobbies($hobby1, $hobby2, $hobby3) { echo "sohan likes, $hobby2, $hobby1, and $hobby3."; } hobbies("Shopping", "Eatting", "Movies"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q38ju
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'hobbies'
          1        SEND_VAL                                                 'Shopping'
          2        SEND_VAL                                                 'Eatting'
          3        SEND_VAL                                                 'Movies'
          4        DO_FCALL                                      0          
    6     5      > RETURN                                                   1

Function hobbies:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q38ju
function name:  hobbies
number of ops:  12
compiled vars:  !0 = $hobby1, !1 = $hobby2, !2 = $hobby3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    3     3        ROPE_INIT                                     7  ~4      'sohan+likes%2C+'
          4        ROPE_ADD                                      1  ~4      ~4, !1
          5        ROPE_ADD                                      2  ~4      ~4, '%2C+'
          6        ROPE_ADD                                      3  ~4      ~4, !0
          7        ROPE_ADD                                      4  ~4      ~4, '%2C+and+'
          8        ROPE_ADD                                      5  ~4      ~4, !2
          9        ROPE_END                                      6  ~3      ~4, '.'
         10        ECHO                                                     ~3
    4    11      > RETURN                                                   null

End of function hobbies

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.94 ms | 1397 KiB | 14 Q