3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getInstance($dbName="authme") { return $dbName; } echo getInstance(); echo "\n"; echo getInstance("yesq12"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RQgd7
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'getinstance'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
    8     3        ECHO                                                     '%0A'
    9     4        INIT_FCALL                                               'getinstance'
          5        SEND_VAL                                                 'yesq12'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
   10     8      > RETURN                                                   1

Function getinstance:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RQgd7
function name:  getInstance
number of ops:  3
compiled vars:  !0 = $dbName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      'authme'
    3     1      > RETURN                                                   !0
    4     2*     > RETURN                                                   null

End of function getinstance

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.01 ms | 1396 KiB | 15 Q