3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(version_compare('5.7.0a5', '5.7.0') === version_compare('5.7.1', '5.7.0'));
based on ZlMrr
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/vk5uK
function name:  (null)
number of ops:  13
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'version_compare'
         2        SEND_VAL                                                 '5.7.0a5'
         3        SEND_VAL                                                 '5.7.0'
         4        DO_ICALL                                         $0      
         5        INIT_FCALL                                               'version_compare'
         6        SEND_VAL                                                 '5.7.1'
         7        SEND_VAL                                                 '5.7.0'
         8        DO_ICALL                                         $1      
         9        IS_IDENTICAL                                     ~2      $0, $1
        10        SEND_VAL                                                 ~2
        11        DO_ICALL                                                 
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0