3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t=5; $y= 12; function practiceTest() { global $t,$y; $y=$t*$y; } practiceTest(); echo $y; //leader ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lGlAD
function name:  (null)
number of ops:  7
compiled vars:  !0 = $t, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 12
   10     2        INIT_FCALL                                               'practicetest'
          3        DO_FCALL                                      0          
   11     4        ECHO                                                     !1
   13     5        ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   15     6      > RETURN                                                   1

Function practicetest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lGlAD
function name:  practiceTest
number of ops:  5
compiled vars:  !0 = $t, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   BIND_GLOBAL                                              !0, 't'
          1        BIND_GLOBAL                                              !1, 'y'
    7     2        MUL                                              ~2      !0, !1
          3        ASSIGN                                                   !1, ~2
    8     4      > RETURN                                                   null

End of function practicetest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.17 ms | 1388 KiB | 14 Q