3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('5.3.12' < '5.3.10'); var_dump('5.3.1' < '5.3.10'); var_dump('5.3.9' < '5.3.10'); var_dump(version_compare('5.3.9', '5.3.10'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8HH76
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <false>
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 <false>
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'version_compare'
         11        SEND_VAL                                                 '5.3.9'
         12        SEND_VAL                                                 '5.3.10'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.6 ms | 1394 KiB | 17 Q