3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "10 kB"; $b = "5 kB"; $c = $a-$b; echo $c; var_dump($_REQUEST); ?>
based on A0m1S
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/e53ni
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '10+kB'
   3     1        ASSIGN                                                   !1, '5+kB'
   4     2        SUB                                              ~5      !0, !1
         3        ASSIGN                                                   !2, ~5
   5     4        ECHO                                                     !2
   6     5        INIT_FCALL                                               'var_dump'
         6        FETCH_R                      global              $7      '_REQUEST'
         7        SEND_VAR                                                 $7
         8        DO_ICALL                                                 
   7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0