3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo var_export(20 / 3 * 1e6, true) . "\n"; echo var_export(6.66, true) . "\n"; echo var_export(6.0, true) . "\n"; echo number_format(20/3, ini_get('precision'), '.', '');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sHeoV
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_export'
          1        SEND_VAL                                                 6.66667e+6
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $0      
          4        CONCAT                                           ~1      $0, '%0A'
          5        ECHO                                                     ~1
    3     6        INIT_FCALL                                               'var_export'
          7        SEND_VAL                                                 6.66
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $2      
         10        CONCAT                                           ~3      $2, '%0A'
         11        ECHO                                                     ~3
    4    12        INIT_FCALL                                               'var_export'
         13        SEND_VAL                                                 6
         14        SEND_VAL                                                 <true>
         15        DO_ICALL                                         $4      
         16        CONCAT                                           ~5      $4, '%0A'
         17        ECHO                                                     ~5
    6    18        INIT_FCALL                                               'number_format'
         19        SEND_VAL                                                 6.66667
         20        INIT_FCALL                                               'ini_get'
         21        SEND_VAL                                                 'precision'
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        SEND_VAL                                                 '.'
         25        SEND_VAL                                                 ''
         26        DO_ICALL                                         $7      
         27        ECHO                                                     $7
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.7 ms | 1395 KiB | 19 Q