3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*Strings: (1)Are either contained in double or single quotation marks, (2)They are defined the same way that you would declare variables, $varible_name = "string_name" 'value of the string inside qoutes' (3)To print out the value of a string, use either echo() or print(): echo $first_name; (4)To print the value of string within a context, use double quotation marks: echo “Hello, $first_name”;*/ $my_name = 'Travis'; echo $my_name; print $my_name; echo 'Hello, $my_name'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P0EjN
function name:  (null)
number of ops:  5
compiled vars:  !0 = $my_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, 'Travis'
   11     1        ECHO                                                     !0
   12     2        ECHO                                                     !0
   13     3        ECHO                                                     'Hello%2C+%24my_name'
   16     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1392 KiB | 13 Q