3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Scope it Out!</title> </head> <body> <p> <?php class Person { } class Ninja extends Person { // Add your code here... const stealth = "MAXIMUM"; } // ...and here! echo Ninja::stealth; ?> </p> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8WBpM
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A++%3Chead%3E%0A++++%3Ctitle%3EScope+it+Out%21%3C%2Ftitle%3E%0A++%3C%2Fhead%3E%0A++%3Cbody%3E%0A++++%3Cp%3E%0A++++++'
   16     1        ECHO                                                     'MAXIMUM'
   19     2        ECHO                                                     '++++%3C%2Fp%3E%0A++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   21     3      > RETURN                                                   1

Class Person: [no user functions]
Class Ninja: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.06 ms | 1392 KiB | 13 Q