3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.59 ms | 1399 KiB | 17 Q