3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ceil(5.4) === floor(5.4)); var_dump(ceil( 5) === floor( 6)); var_dump(ceil( 5) === floor( 5)); var_dump(ceil(5.4) === floor(5.0)); var_dump(ceil(5.0) === floor(5.0)); var_dump(ceil(5.0) === floor( 5));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Uu1Xg
function name:  (null)
number of ops:  61
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'ceil'
          2        SEND_VAL                                                 5.4
          3        DO_ICALL                                         $0      
          4        INIT_FCALL                                               'floor'
          5        SEND_VAL                                                 5.4
          6        DO_ICALL                                         $1      
          7        IS_IDENTICAL                                     ~2      $0, $1
          8        SEND_VAL                                                 ~2
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'ceil'
         12        SEND_VAL                                                 5
         13        DO_ICALL                                         $4      
         14        INIT_FCALL                                               'floor'
         15        SEND_VAL                                                 6
         16        DO_ICALL                                         $5      
         17        IS_IDENTICAL                                     ~6      $4, $5
         18        SEND_VAL                                                 ~6
         19        DO_ICALL                                                 
    5    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'ceil'
         22        SEND_VAL                                                 5
         23        DO_ICALL                                         $8      
         24        INIT_FCALL                                               'floor'
         25        SEND_VAL                                                 5
         26        DO_ICALL                                         $9      
         27        IS_IDENTICAL                                     ~10     $8, $9
         28        SEND_VAL                                                 ~10
         29        DO_ICALL                                                 
    6    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'ceil'
         32        SEND_VAL                                                 5.4
         33        DO_ICALL                                         $12     
         34        INIT_FCALL                                               'floor'
         35        SEND_VAL                                                 5
         36        DO_ICALL                                         $13     
         37        IS_IDENTICAL                                     ~14     $12, $13
         38        SEND_VAL                                                 ~14
         39        DO_ICALL                                                 
    7    40        INIT_FCALL                                               'var_dump'
         41        INIT_FCALL                                               'ceil'
         42        SEND_VAL                                                 5
         43        DO_ICALL                                         $16     
         44        INIT_FCALL                                               'floor'
         45        SEND_VAL                                                 5
         46        DO_ICALL                                         $17     
         47        IS_IDENTICAL                                     ~18     $16, $17
         48        SEND_VAL                                                 ~18
         49        DO_ICALL                                                 
    8    50        INIT_FCALL                                               'var_dump'
         51        INIT_FCALL                                               'ceil'
         52        SEND_VAL                                                 5
         53        DO_ICALL                                         $20     
         54        INIT_FCALL                                               'floor'
         55        SEND_VAL                                                 5
         56        DO_ICALL                                         $21     
         57        IS_IDENTICAL                                     ~22     $20, $21
         58        SEND_VAL                                                 ~22
         59        DO_ICALL                                                 
         60      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.75 ms | 1404 KiB | 20 Q