Fatal error: Uncaught ValueError: ftruncate(): Argument #2 ($size) must be greater than or equal to 0 in /in/k720s:4
Stack trace:
#0 /in/k720s(4): ftruncate(Resource id #5, -1)
#1 {main}
thrown in /in/k720s on line 4
Process exited with code 255.
Warning: ftruncate(): Negative size is not supported in /in/k720s on line 4
Output for 5.6.26 - 5.6.30, 7.0.11 - 7.0.20
Output for 7.0.0 - 7.0.10
Fatal error: Out of memory (allocated 2097152) (tried to allocate 18446744073709551615 bytes) in /in/k720s on line 4
mmap() failed: [22] Invalid argument
mmap() failed: [22] Invalid argument
Process exited with code 255.
Warning: fopen(php://memory): failed to open stream: Success in /in/k720s on line 3
Warning: ftruncate(): supplied argument is not a valid stream resource in /in/k720s on line 4
Output for 4.3.2
Warning: fopen(php://memory): failed to open stream: Inappropriate ioctl for device in /in/k720s on line 3
Warning: ftruncate(): supplied argument is not a valid stream resource in /in/k720s on line 4
Output for 4.3.0 - 4.3.1
Warning: fopen(php://memory) [http://www.php.net/function.fopen]: failed to create stream: Inappropriate ioctl for device in /in/k720s on line 3
Warning: ftruncate(): supplied argument is not a valid stream resource in /in/k720s on line 4