3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5; $b = 10; function Mul() { $a =0; $b = $a * $b; } Mul(); print($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sWi3u
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    4     1        ASSIGN                                                   !1, 10
   12     2        INIT_FCALL                                               'mul'
          3        DO_FCALL                                      0          
   13     4        ECHO                                                     !1
          5      > RETURN                                                   1

Function mul:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sWi3u
function name:  Mul
number of ops:  4
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, 0
    9     1        MUL                                              ~3      !0, !1
          2        ASSIGN                                                   !1, ~3
   10     3      > RETURN                                                   null

End of function mul

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.36 ms | 1397 KiB | 14 Q