3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = fopen(__FILE__, "r"); var_dump($a); var_dump($a < 1.0); var_dump($a <= 5.0); var_dump($a <= 10.0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eE0LI
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 '%2Fin%2FeE0LI'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    3     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'var_dump'
          9        IS_SMALLER                                       ~4      !0, 1
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'var_dump'
         13        IS_SMALLER_OR_EQUAL                              ~6      !0, 5
         14        SEND_VAL                                                 ~6
         15        DO_ICALL                                                 
    6    16        INIT_FCALL                                               'var_dump'
         17        IS_SMALLER_OR_EQUAL                              ~8      !0, 10
         18        SEND_VAL                                                 ~8
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.53 ms | 1395 KiB | 17 Q