3v4l.org

run code in 300+ PHP versions simultaneously
<?php $eq_after_calculation = "(-3.5)^3 - 9(-3.5) + 1"; @$value = eval("return ($eq_after_calculation);"); echo $eq_after_calculation; echo $value;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZMTI2
function name:  (null)
number of ops:  11
compiled vars:  !0 = $eq_after_calculation, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%28-3.5%29%5E3+-+9%28-3.5%29+%2B+1'
    4     1        BEGIN_SILENCE                                    ~3      
          2        ROPE_INIT                                     3  ~5      'return+%28'
          3        ROPE_ADD                                      1  ~5      ~5, !0
          4        ROPE_END                                      2  ~4      ~5, '%29%3B'
          5        INCLUDE_OR_EVAL                                  $7      ~4, EVAL
          6        ASSIGN                                                   !1, $7
          7        END_SILENCE                                              ~3
    5     8        ECHO                                                     !0
    6     9        ECHO                                                     !1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.69 ms | 1397 KiB | 13 Q