3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age=10; $nom="john"; $metier="flutiste"; define ("PHRASE","$nom+' est un '+$metier+' de '+$age"); echo PHRASE; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EARqW
function name:  (null)
number of ops:  15
compiled vars:  !0 = $age, !1 = $nom, !2 = $metier
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, 'john'
    5     2        ASSIGN                                                   !2, 'flutiste'
    6     3        INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'PHRASE'
          5        ROPE_INIT                                     5  ~7      !1
          6        ROPE_ADD                                      1  ~7      ~7, '%2B%27+est+un+%27%2B'
          7        ROPE_ADD                                      2  ~7      ~7, !2
          8        ROPE_ADD                                      3  ~7      ~7, '%2B%27+de+%27%2B'
          9        ROPE_END                                      4  ~6      ~7, !0
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                                 
    7    12        FETCH_CONSTANT                                   ~11     'PHRASE'
         13        ECHO                                                     ~11
    8    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.42 ms | 1394 KiB | 15 Q