3v4l.org

run code in 500+ PHP versions simultaneously
<?php define('REQUIRED_PHP_VERSION', '8'); var_dump(version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '<'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/INPFN
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'define'
          1        SEND_VAL                                                     'REQUIRED_PHP_VERSION'
          2        SEND_VAL                                                     '8'
          3        DO_ICALL                                                     
    3     4        INIT_FCALL                                                   'var_dump'
          5        INIT_FCALL                                                   'version_compare'
          6        SEND_VAL                                                     '8.5.0'
          7        FETCH_CONSTANT                                       ~1      'REQUIRED_PHP_VERSION'
          8        SEND_VAL                                                     ~1
          9        SEND_VAL                                                     '%3C'
         10        DO_ICALL                                             $2      
         11        SEND_VAR                                                     $2
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
152.76 ms | 3313 KiB | 16 Q