3v4l.org

run code in 300+ PHP versions simultaneously
<?php $float = 0.123456789012345678901234567890; ini_set('precision', 10); print $float ."\n"; ini_set('precision', 25); print $float ."\n"; ini_set('precision', -1); print $float ."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tmT0G
function name:  (null)
number of ops:  20
compiled vars:  !0 = $float
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0.123457
    5     1        INIT_FCALL                                               'ini_set'
          2        SEND_VAL                                                 'precision'
          3        SEND_VAL                                                 10
          4        DO_ICALL                                                 
    7     5        CONCAT                                           ~3      !0, '%0A'
          6        ECHO                                                     ~3
    9     7        INIT_FCALL                                               'ini_set'
          8        SEND_VAL                                                 'precision'
          9        SEND_VAL                                                 25
         10        DO_ICALL                                                 
   11    11        CONCAT                                           ~5      !0, '%0A'
         12        ECHO                                                     ~5
   13    13        INIT_FCALL                                               'ini_set'
         14        SEND_VAL                                                 'precision'
         15        SEND_VAL                                                 -1
         16        DO_ICALL                                                 
   15    17        CONCAT                                           ~7      !0, '%0A'
         18        ECHO                                                     ~7
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.69 ms | 996 KiB | 14 Q