3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $varInt = 123; $varString = 'Some string'; $varArray = array(1,2,3); $varObject = new stdClass(); function expectInt(integer $a) { } function expectString(string $a) { } function expectArray(array $a) { } function expectObject(stdClass $a) { } expectInt($varInt);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMf5P
function name:  (null)
number of ops:  10
compiled vars:  !0 = $varInt, !1 = $varString, !2 = $varArray, !3 = $varObject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 123
    5     1        ASSIGN                                                   !1, 'Some+string'
    6     2        ASSIGN                                                   !2, <array>
    7     3        NEW                                              $7      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !3, $7
   22     6        INIT_FCALL                                               'expectint'
          7        SEND_VAR                                                 !0
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function expectint:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMf5P
function name:  expectInt
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   10     1      > RETURN                                                   null

End of function expectint

Function expectstring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMf5P
function name:  expectString
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1      > RETURN                                                   null

End of function expectstring

Function expectarray:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMf5P
function name:  expectArray
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
   16     1      > RETURN                                                   null

End of function expectarray

Function expectobject:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMf5P
function name:  expectObject
number of ops:  2
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
   19     1      > RETURN                                                   null

End of function expectobject

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.75 ms | 1399 KiB | 14 Q