3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($one, $two, $three) { } $i = 0; test($i++, $i += 0.01, $i++); var_dump($i);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LZvuX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 0
    9     1        INIT_FCALL                                               'test'
          2        POST_INC                                         ~2      !0
          3        SEND_VAL                                                 ~2
          4        ASSIGN_OP                                     1  ~3      !0, 0.01
          5        SEND_VAL                                                 ~3
          6        POST_INC                                         ~4      !0
          7        SEND_VAL                                                 ~4
          8        DO_FCALL                                      0          
   11     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LZvuX
function name:  test
number of ops:  4
compiled vars:  !0 = $one, !1 = $two, !2 = $three
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    5     3      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.18 ms | 1397 KiB | 16 Q