3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
277.95 ms | 1012 KiB | 16 Q