3v4l.org

run code in 500+ PHP versions simultaneously
<?php $f = M_PI; echo "$f\n"; ini_set('precision', 2); echo "$f\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mMjuK
function name:  (null)
number of ops:  12
compiled vars:  !0 = $f
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 3.14159
    4     1        NOP                                                          
          2        FAST_CONCAT                                          ~2      !0, '%0A'
          3        ECHO                                                         ~2
    5     4        INIT_FCALL                                                   'ini_set'
          5        SEND_VAL                                                     'precision'
          6        SEND_VAL                                                     2
          7        DO_ICALL                                                     
    6     8        NOP                                                          
          9        FAST_CONCAT                                          ~4      !0, '%0A'
         10        ECHO                                                         ~4
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.18 ms | 1584 KiB | 14 Q