3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 4.4; $b = 17.4; $c = $b - $a; echo "C is $c\n"; echo "C intval() is " . intval($c);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jY850
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 4.4
    3     1        ASSIGN                                                   !1, 17.4
    4     2        SUB                                              ~5      !1, !0
          3        ASSIGN                                                   !2, ~5
    6     4        ROPE_INIT                                     3  ~8      'C+is+'
          5        ROPE_ADD                                      1  ~8      ~8, !2
          6        ROPE_END                                      2  ~7      ~8, '%0A'
          7        ECHO                                                     ~7
    7     8        CAST                                          4  ~10     !2
          9        CONCAT                                           ~11     'C+intval%28%29+is+', ~10
         10        ECHO                                                     ~11
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.52 ms | 1393 KiB | 13 Q