3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5; $b = 7; echo "The sum of $a and $b is" ($a+$b); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f9LTv
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 7
    4     2        ROPE_INIT                                     5  ~5      'The+sum+of+'
          3        ROPE_ADD                                      1  ~5      ~5, !0
          4        ROPE_ADD                                      2  ~5      ~5, '+and+'
          5        ROPE_ADD                                      3  ~5      ~5, !1
          6        ROPE_END                                      4  ~4      ~5, '+is'
          7        INIT_DYNAMIC_CALL                                        ~4
          8        ADD                                              ~8      !0, !1
          9        SEND_VAL_EX                                              ~8
         10        DO_FCALL                                      0  $9      
         11        ECHO                                                     $9
    5    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.45 ms | 1392 KiB | 13 Q