3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number1 = 56; $number2 = 70; $number3 = 12.56; $number = $number1 + $number2; echo "Addition of $number1 and $number2 : " . $number ; echo "<br>"; echo "Subtraction of $number2 from $number but with absolute function: " . abs ($number-$number2) . "<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kUVRo
function name:  (null)
number of ops:  26
compiled vars:  !0 = $number1, !1 = $number2, !2 = $number3, !3 = $number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 56
    4     1        ASSIGN                                                   !1, 70
    5     2        ASSIGN                                                   !2, 12.56
    7     3        ADD                                              ~7      !0, !1
          4        ASSIGN                                                   !3, ~7
    8     5        ROPE_INIT                                     5  ~10     'Addition+of+'
          6        ROPE_ADD                                      1  ~10     ~10, !0
          7        ROPE_ADD                                      2  ~10     ~10, '+and+'
          8        ROPE_ADD                                      3  ~10     ~10, !1
          9        ROPE_END                                      4  ~9      ~10, '+%3A+'
         10        CONCAT                                           ~13     ~9, !3
         11        ECHO                                                     ~13
    9    12        ECHO                                                     '%3Cbr%3E'
   10    13        ROPE_INIT                                     5  ~15     'Subtraction+of+'
         14        ROPE_ADD                                      1  ~15     ~15, !1
         15        ROPE_ADD                                      2  ~15     ~15, '+from+'
         16        ROPE_ADD                                      3  ~15     ~15, !3
         17        ROPE_END                                      4  ~14     ~15, '+but+with+absolute+function%3A+'
         18        INIT_FCALL                                               'abs'
         19        SUB                                              ~18     !3, !1
         20        SEND_VAL                                                 ~18
         21        DO_ICALL                                         $19     
         22        CONCAT                                           ~20     ~14, $19
         23        CONCAT                                           ~21     ~20, '%3Cbr%3E'
         24        ECHO                                                     ~21
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.59 ms | 1399 KiB | 15 Q