/PHP-8.1/ext/sysvsem/tests/ |
H A D | sysv.phpt | 2 General semaphore and shared memory test 8 $MEMSIZE = 512; // size of shared memory to allocate 31 echo "Fail to attach shared memory.\n"; 35 echo "Success to attach shared memory.\n"; 44 echo "Write var1 to shared memory.\n"; 53 echo "Write var2 to shared memory.\n"; 77 // remove shared memory segmant from SysV 96 Success to attach shared memory. 97 Write var1 to shared memory. 98 Write var2 to shared memory. [all …]
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug61371.phpt | 2 Bug #61371: stream_context_create() causes memory leaks on use streams_socket_create 14 echo 'memory: '.round($current / 1024, 0)."kb\n"; 31 memory: %dkb 33 memory: %dkb 35 memory: %dkb 36 memory: %dkb 38 memory: %dkb 40 memory: %dkb
|
H A D | bug61371-unix.phpt | 2 Bug #61371: stream_context_create() causes memory leaks on use streams_socket_create 19 echo 'memory: '.round($current / 1024, 0)."kb\n"; 36 memory: %dkb 38 memory: %dkb 40 memory: %dkb 41 memory: %dkb 43 memory: %dkb 45 memory: %dkb
|
H A D | bug44818.phpt | 2 Bug #44818 (php://memory writeable when opened read only) 12 test("php://memory","r"); 13 test("php://memory","r+"); 18 php://memory, r 23 php://memory, r+
|
H A D | bug75031.phpt | 2 Bug #75031: Append mode in php://temp and php://memory 16 test_75031("php://memory", "w+"); 18 test_75031("php://memory", "a+");
|
H A D | bug78506.phpt | 17 $source_resource = fopen('php://memory', 'rb+'); 23 var_dump(stream_copy_to_stream($source_resource, fopen('php://memory', 'wb')));
|
/PHP-8.1/ext/shmop/tests/ |
H A D | 001.phpt | 9 $write_d2 = "test #2 append data to shared memory segment"; 29 echo "data in memory is: " . shmop_read($shm_id, 0, $written) . "\n"; 39 echo "data in memory is: " . shmop_read($shm_id, 0, $written) . "\n"; 41 /* try to append data to the shared memory segment, this should fail */ 64 echo "data in memory is: " . shmop_read($shm_id, 0, strlen($write_d1 . $write_d2)) . "\n"; 77 data in memory is: test #1 of the shmop() extension 79 data in memory is: test #1 of the shmop() extension 83 data in memory is: test #1 of the shmop() extensiontest #2 append data to shared memory segment
|
H A D | 002.phpt | 25 // Warning outputs: Unable to attach or create shared memory segment 28 // Shared memory segment size must be greater than zero 35 //Shared memory segment size must be greater than zero 76 Warning: shmop_open(): Unable to attach or create shared memory segment "%s" in %s on line %d 79 Warning: shmop_open(): Unable to attach or create shared memory segment "%s" in %s on line %d
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | bug71882.phpt | 2 Bug #71882 (Negative ftruncate() on php://memory exhausts memory) 5 $fd = fopen("php://memory", "w+");
|
H A D | bug52820.phpt | 13 if (!@curl_setopt($handle, CURLOPT_STDERR, fopen("php://memory", "w+"))) 35 fclose(do_stuff("php://memory")); 41 zend_leak_variable(do_stuff("php://memory")); 51 memory stream \(close after\): 61 memory stream \(leak\):
|
/PHP-8.1/Zend/tests/ |
H A D | bug81070.phpt | 2 Bug #81070 Setting memory limit to below current usage 13 Warning: Failed to set memory limit to 3145728 bytes (Current memory usage is %d bytes) in %s on li…
|
H A D | bug55509.phpt | 2 Bug #55509 (segfault on x86_64 using more than 2G memory) 15 // check the available memory 27 die('skip Not enough memory.'); 49 die('skip Not enough memory.'); 56 die('skip Not enough memory.'); 81 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sbug55509.…
|
H A D | bug64660.phpt | 2 Bug #64660 (Segfault on memory exhaustion within function definition) 10 Parse error: memory exhausted in %s on line %d
|
H A D | bug76846.phpt | 2 Bug #76846: Segfault in shutdown function after memory limit error 26 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line …
|
/PHP-8.1/ext/zlib/tests/ |
H A D | deflate_init_error.phpt | 27 var_dump(deflate_init(ZLIB_ENCODING_DEFLATE, ['memory' => 0])); 33 var_dump(deflate_init(ZLIB_ENCODING_DEFLATE, ['memory' => 10])); 43 deflate_init(): "memory" option must be between 1 and 9 44 deflate_init(): "memory" option must be between 1 and 9
|
/PHP-8.1/ext/pdo_sqlite/tests/ |
H A D | bug43831.phpt | 23 $foo = new Foo("sqlite::memory:"); 28 $bar = new Bar("sqlite::memory:"); 34 $bar = new PDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true)); 35 $baz = new MyPDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true));
|
H A D | gh9032.phpt | 9 $db = new PDO("sqlite::memory:", null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]); 11 $db->exec('attach database \':memory:\' AS "db1"'); 16 $st->execute([':a' => ':memory:']);
|
/PHP-8.1/ext/tidy/tests/ |
H A D | parsing_inexistent_file.phpt | 16 Warning: tidy::parseFile(): Cannot load "does_not_exist.html" into memory in %s on line %d 19 Warning: tidy_parse_file(): Cannot load "does_not_exist.html" into memory in %s on line %d 22 Warning: tidy::__construct(): Cannot load "does_not_exist.html" into memory in %s on line %d
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | gh9032.phpt | 9 $db = new SQLite3(":memory:"); 12 $db->exec('attach database \':memory:\' AS "db1"'); 17 $st->bindValue("a", ":memory:");
|
H A D | sqlite3_prepare_001.phpt | 2 SQLite3 - memory leak on SQLite3Result and SQLite3Stmt 9 $class = new SQLite3(':memory:');
|
/PHP-8.1/ext/sysvshm/ |
H A D | config.m4 | 2 [whether to enable System V shared memory support], 4 [Enable the System V shared memory support])])
|
/PHP-8.1/ext/spl/tests/ |
H A D | SplTempFileObject_constructor_memory_lt1_variation.phpt | 10 string(12) "php://memory" 12 string(12) "php://memory"
|
H A D | observer_010.phpt | 2 SPL: SplObjectStorage null coalescing operator memory leak 5 // In zts mode, this should no longer detect memory leaks for the objects
|
/PHP-8.1/Zend/tests/generators/ |
H A D | gh9801.phpt | 2 Bug GH-9801 (Crash when memory limit is exceeded during generator initialization) 21 Fatal error: Allowed memory size of %d bytes exhausted %s
|
/PHP-8.1/Zend/tests/fibers/ |
H A D | out-of-memory-in-fiber.phpt | 25 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sout-of-me…
|