3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!function_exists('curl_version')) { function curl_version() { return array( 'version' => 'test', ); } } echo curl_version()['version'];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/FVOC5
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'curl_version'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->6
    3     5    >   DECLARE_FUNCTION                                         'curl_version'
    9     6    >   INIT_FCALL_BY_NAME                                       'curl_version'
          7        DO_FCALL                                      0  $2      
          8        FETCH_DIM_R                                      ~3      $2, 'version'
          9        ECHO                                                     ~3
         10      > RETURN                                                   1

Function %00curl_version%2Fin%2FFVOC5%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FVOC5
function name:  curl_version
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   <array>
    7     1*     > RETURN                                                   null

End of function %00curl_version%2Fin%2FFVOC5%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.18 ms | 1386 KiB | 15 Q