3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number=50; $number2=10; #Information Page $First_Name= "Semen"; $Last_Name= "Kabaza"; function myTest () { global $number, $number2; $number2 = $number + $number2; } function PersonalInformation(){ global $First_Name, $Last_Name; $Combination= $First_Name + $Last_Name; } myTest(); echo $number2; PersonalInformation(); echo $Combination; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/II00E
function name:  (null)
number of ops:  11
compiled vars:  !0 = $number, !1 = $number2, !2 = $First_Name, !3 = $Last_Name, !4 = $Combination
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 50
    3     1        ASSIGN                                                   !1, 10
    6     2        ASSIGN                                                   !2, 'Semen'
    7     3        ASSIGN                                                   !3, 'Kabaza'
   20     4        INIT_FCALL                                               'mytest'
          5        DO_FCALL                                      0          
   21     6        ECHO                                                     !1
   23     7        INIT_FCALL                                               'personalinformation'
          8        DO_FCALL                                      0          
   24     9        ECHO                                                     !4
   25    10      > RETURN                                                   1

Function mytest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/II00E
function name:  myTest
number of ops:  5
compiled vars:  !0 = $number, !1 = $number2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   BIND_GLOBAL                                              !0, 'number'
          1        BIND_GLOBAL                                              !1, 'number2'
   11     2        ADD                                              ~2      !0, !1
          3        ASSIGN                                                   !1, ~2
   12     4      > RETURN                                                   null

End of function mytest

Function personalinformation:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/II00E
function name:  PersonalInformation
number of ops:  5
compiled vars:  !0 = $First_Name, !1 = $Last_Name, !2 = $Combination
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   BIND_GLOBAL                                              !0, 'First_Name'
          1        BIND_GLOBAL                                              !1, 'Last_Name'
   17     2        ADD                                              ~3      !0, !1
          3        ASSIGN                                                   !2, ~3
   18     4      > RETURN                                                   null

End of function personalinformation

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.25 ms | 1399 KiB | 15 Q