3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); echo "Peter is " . $age['37'] . " years old."; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SILmb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $age
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A%0A'
    6     1        ASSIGN                                                   !0, <array>
    7     2        FETCH_DIM_R                                      ~2      !0, 37
          3        CONCAT                                           ~3      'Peter+is+', ~2
          4        CONCAT                                           ~4      ~3, '+years+old.'
          5        ECHO                                                     ~4
    9     6        ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   11     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.56 ms | 1392 KiB | 13 Q