3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 528.56; $y = 100; 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/IbvV7
function name:  (null)
number of ops:  12
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        MUL                                              ~4      !0, !1
          3        CONCAT                                           ~5      ~4, '%0A'
          4        ECHO                                                     ~5
    7     5        INIT_FCALL                                               'json_encode'
          6        MUL                                              ~6      !0, !1
          7        INIT_ARRAY                                       ~7      ~6
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                         $8      
         10        ECHO                                                     $8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
133.81 ms | 1009 KiB | 14 Q