3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.01 ms | 1386 KiB | 21 Q