3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php eval("class $value extends vwAllProductsDisplayMigrationCSV { };");
Output for 7.0.20, 7.1.5 - 7.2.0
Notice: Undefined variable: value in /in/J6T96 on line 2 Parse error: syntax error, unexpected 'extends' (T_EXTENDS), expecting identifier (T_STRING) in /in/J6T96(2) : eval()'d code on line 1
Process exited with code 255.
Output for 7.0.0 - 7.0.6, 7.1.0
Notice: Undefined variable: value in /in/J6T96 on line 2 Parse error: syntax error, unexpected 'extends' (T_EXTENDS), expecting identifier (T_STRING) in /in/J6T96(4) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Notice: Undefined variable: value in /in/J6T96 on line 4 Parse error: syntax error, unexpected 'extends' (T_EXTENDS), expecting identifier (T_STRING) in /in/J6T96(4) : eval()'d code on line 1
Output for 5.4.2 - 5.4.10
Notice: Undefined variable: value in /in/J6T96 on line 4 Parse error: syntax error, unexpected 'extends' (T_EXTENDS), expecting identifier (T_STRING) in /in/J6T96(4) : eval()'d code on line 1
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Notice: Undefined variable: value in /in/J6T96 on line 4 Parse error: syntax error, unexpected T_EXTENDS, expecting T_STRING in /in/J6T96(4) : eval()'d code on line 1
Process exited with code 255.