3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stxt40 = "1,0"; $res = 100 - ((100 * ($stxt40 - 1)) / 2.4); echo $res;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IDup2
function name:  (null)
number of ops:  8
compiled vars:  !0 = $stxt40, !1 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1%2C0'
    3     1        SUB                                              ~3      !0, 1
          2        MUL                                              ~4      ~3, 100
          3        DIV                                              ~5      ~4, 2.4
          4        SUB                                              ~6      100, ~5
          5        ASSIGN                                                   !1, ~6
    5     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.84 ms | 1384 KiB | 13 Q