3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo PHP_VERSION, "\n", var_export(version_compare(PHP_VERSION, '5.4.8', '>='), true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eAP0R
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '8.0.0'
          1        ECHO                                                     '%0A'
          2        INIT_FCALL                                               'var_export'
          3        INIT_FCALL                                               'version_compare'
          4        SEND_VAL                                                 '8.0.0'
          5        SEND_VAL                                                 '5.4.8'
          6        SEND_VAL                                                 '%3E%3D'
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $1      
         11        ECHO                                                     $1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.33 ms | 1394 KiB | 17 Q