3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(1024 >> 20); var_dump(524288 >> 20); var_dump(1048576 >> 20); var_dump(2097152 >> 20); var_dump(5767168 >> 20); echo PHP_EOL; var_dump(round(1024 / 1024 / 1024, 0)); var_dump(round(524288 / 1024 / 1024, 0)); var_dump(round(1048576 / 1024 / 1024, 0)); var_dump(round(2097152 / 1024 / 1024, 0)); var_dump(round(5767168 / 1024 / 1024, 0));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kX286
function name:  (null)
number of ops:  52
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAL                                                 0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 2
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 5
         14        DO_ICALL                                                 
    9    15        ECHO                                                     '%0A'
   11    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'round'
         18        SEND_VAL                                                 0.000976562
         19        SEND_VAL                                                 0
         20        DO_ICALL                                         $5      
         21        SEND_VAR                                                 $5
         22        DO_ICALL                                                 
   12    23        INIT_FCALL                                               'var_dump'
         24        INIT_FCALL                                               'round'
         25        SEND_VAL                                                 0.5
         26        SEND_VAL                                                 0
         27        DO_ICALL                                         $7      
         28        SEND_VAR                                                 $7
         29        DO_ICALL                                                 
   13    30        INIT_FCALL                                               'var_dump'
         31        INIT_FCALL                                               'round'
         32        SEND_VAL                                                 1
         33        SEND_VAL                                                 0
         34        DO_ICALL                                         $9      
         35        SEND_VAR                                                 $9
         36        DO_ICALL                                                 
   14    37        INIT_FCALL                                               'var_dump'
         38        INIT_FCALL                                               'round'
         39        SEND_VAL                                                 2
         40        SEND_VAL                                                 0
         41        DO_ICALL                                         $11     
         42        SEND_VAR                                                 $11
         43        DO_ICALL                                                 
   15    44        INIT_FCALL                                               'var_dump'
         45        INIT_FCALL                                               'round'
         46        SEND_VAL                                                 5.5
         47        SEND_VAL                                                 0
         48        DO_ICALL                                         $13     
         49        SEND_VAR                                                 $13
         50        DO_ICALL                                                 
         51      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
281.44 ms | 1016 KiB | 15 Q