3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price = 1080; $taxrate = 1.08; $rewrite = $price / $taxrate; print_r ($rewrite . "\n"); $rewrite = floor($rewrite); print_r ($rewrite);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C6V4h
function name:  (null)
number of ops:  16
compiled vars:  !0 = $price, !1 = $taxrate, !2 = $rewrite
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1080
    3     1        ASSIGN                                                   !1, 1.08
    4     2        DIV                                              ~5      !0, !1
          3        ASSIGN                                                   !2, ~5
    6     4        INIT_FCALL                                               'print_r'
          5        CONCAT                                           ~7      !2, '%0A'
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'floor'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $9      
         11        ASSIGN                                                   !2, $9
    8    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.17 ms | 1394 KiB | 17 Q