3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startValue = 100; $x1 = (int)($startValue * 2); $x1 = (int)($x1 * 3); $x1 = (int)($x1 / 3); $x1 = (int)($x1 / 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GPjrp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $startValue, !1 = $x1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 100
    5     1        MUL                                              ~3      !0, 2
          2        CAST                                          4  ~4      ~3
          3        ASSIGN                                                   !1, ~4
    6     4        MUL                                              ~6      !1, 3
          5        CAST                                          4  ~7      ~6
          6        ASSIGN                                                   !1, ~7
    7     7        DIV                                              ~9      !1, 3
          8        CAST                                          4  ~10     ~9
          9        ASSIGN                                                   !1, ~10
    8    10        DIV                                              ~12     !1, 2
         11        CAST                                          4  ~13     ~12
         12        ASSIGN                                                   !1, ~13
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.94 ms | 1384 KiB | 13 Q