Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): open_basedir restriction in effect. File(/home/a.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/s1jNk:2
Stack trace:
#0 /in/s1jNk(2): SplFileObject->__construct('/home/a.txt', 'w+')
#1 {main}
thrown in /in/s1jNk on line 2
Process exited with code 255.
Output for 8.0.13
Fatal error: Uncaught RuntimeException: SplFileObject::__construct(/home/a.txt): Failed to open stream: Permission denied in /in/s1jNk:2
Stack trace:
#0 /in/s1jNk(2): SplFileObject->__construct('/home/a.txt', 'w+')
#1 {main}
thrown in /in/s1jNk on line 2
Process exited with code 255.
Fatal error: Uncaught RuntimeException: SplFileObject::__construct(/home/a.txt): failed to open stream: Permission denied in /in/s1jNk:2
Stack trace:
#0 /in/s1jNk(2): SplFileObject->__construct('/home/a.txt', 'w+')
#1 {main}
thrown in /in/s1jNk on line 2
Process exited with code 255.
Output for 7.1.20
Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): open_basedir restriction in effect. File(/home/a.txt) is not within the allowed path(s): (/tmp:/in) in /in/s1jNk:2
Stack trace:
#0 /in/s1jNk(2): SplFileObject->__construct('/home/a.txt', 'w+')
#1 {main}
thrown in /in/s1jNk on line 2
Process exited with code 255.
Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileObject::__construct(/home/a.txt): failed to open stream: Permission denied' in /in/s1jNk:2
Stack trace:
#0 /in/s1jNk(2): SplFileObject->__construct('/home/a.txt', 'w+')
#1 {main}
thrown in /in/s1jNk on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Class 'SplFileObject' not found in /in/s1jNk on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: splfileobject in /in/s1jNk on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: splfileobject in /in/s1jNk on line 2