3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _isCurl(){ return function_exists('curl_version'); } if(_isCurl){ echo 'yes'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/YqRVO
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   FETCH_CONSTANT                                   ~0      '_isCurl'
          1      > JMPZ                                                     ~0, ->3
    7     2    >   ECHO                                                     'yes'
    8     3    > > RETURN                                                   1

Function _iscurl:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YqRVO
function name:  _isCurl
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'curl_version'
          2        DO_ICALL                                         $0      
          3      > RETURN                                                   $0
    4     4*     > RETURN                                                   null

End of function _iscurl

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.73 ms | 1394 KiB | 15 Q