3v4l.org

run code in 300+ PHP versions simultaneously
<?php $adjective = 'per'; $code = 'code'; echo 'phptherightway is ' . $adjective . '.' // a single quotes example that uses multiple concatenating for . "\n" // variables and escaped string . 'I love learning' . $code . '!';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tMcMM
function name:  (null)
number of ops:  10
compiled vars:  !0 = $adjective, !1 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'per'
    3     1        ASSIGN                                                   !1, 'code'
    4     2        CONCAT                                           ~4      'phptherightway+is+', !0
          3        CONCAT                                           ~5      ~4, '.'
    5     4        CONCAT                                           ~6      ~5, '%0A'
    6     5        CONCAT                                           ~7      ~6, 'I+love+learning'
          6        CONCAT                                           ~8      ~7, !1
          7        CONCAT                                           ~9      ~8, '%21'
          8        ECHO                                                     ~9
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.55 ms | 1392 KiB | 13 Q