3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.24 ms | 1394 KiB | 17 Q