3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.54 ms | 1394 KiB | 15 Q