Home
last modified time | relevance | path

Searched refs:file_put_contents (Results 51 – 75 of 346) sorted by relevance

12345678910>>...14

/PHP-8.2/ext/standard/tests/streams/
H A Dstream_resolve_include_path.phpt14 file_put_contents($include_path_file, 'include_path');
15 file_put_contents($include_path_nested_file, 'include_path');
H A Dgh15908.phpt28 file_put_contents(__DIR__."/gh15908.tmp", $f, FILE_USE_INCLUDE_PATH, $f);
38 file_put_contents(): supplied resource is not a valid Stream-Context resource
/PHP-8.2/ext/phar/tests/
H A Dcreate_new_phar.phpt11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php',
16 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php…
H A Dcreate_new_phar_b.phpt11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php',
16 Warning: file_put_contents(phar://%screate_new_phar_b.phar.php/a.php): Failed to open stream: phar …
H A Dphar_ctx_001.phpt34 file_put_contents($pname . '/a', 'new a', 0); // no compression
35 file_put_contents($pname . '/b', 'new b', 0, $context);
36 file_put_contents($pname . '/d', 'new d', 0, $context2);
/PHP-8.2/ext/standard/tests/file/
H A Dfile_put_contents_variation2.phpt2 Test file_put_contents() function : usage variation - different data types to write
7 echo "*** Testing file_put_contents() : usage variation ***\n";
100 file_put_contents($filename, $value);
107 *** Testing file_put_contents() : usage variation ***
H A Dfile_put_contents_variation4.phpt2 Test file_put_contents() function : variation - include path testing
32 file_put_contents($filename, "File in include path", FILE_USE_INCLUDE_PATH);
H A Dfile_put_contents_variation5.phpt2 Test file_put_contents() function : variation - include path testing
33 file_put_contents($filename, "File written in working directory", FILE_USE_INCLUDE_PATH);
H A Dfile_get_contents_file_put_contents_error.phpt2 Test file-get_contents() and file_put_contents() functions : error conditions
14 file_put_contents($file_path."/file_put_contents_error1.tmp", "Garbage data in the file");
/PHP-8.2/ext/opcache/tests/
H A Dbug74596.phpt15 file_put_contents(__DIR__ . "/bug74596_1.php", <<<CODE
31 file_put_contents(__DIR__ . "/bug74596_2.php", "ok\n");
H A Drevalidate_path_01.phpt22 @file_put_contents($main, '<?php include(\'' . $link .'/index.php\');');
23 @file_put_contents($file1, "TEST 1\n");
24 @file_put_contents($file2, "TEST 2\n");
/PHP-8.2/sapi/cli/tests/
H A D011.phpt26 file_put_contents($filename, $code);
41 file_put_contents($filename, $code);
H A Dargv_mb_bug77111.phpt25 file_put_contents($argv_fl, "<?php file_put_contents('$out_fl', implode(' ', array_slice(\$argv, 1)…
H A Dgh8827-003.phpt31 file_put_contents('php://fd/1', "Also goes to stdoutFile\n");
33 file_put_contents('php://fd/2', "Goes to stderrFile\n");
/PHP-8.2/ext/phar/tests/tar/
H A Dcreate_new_phar_b.phpt11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar/a.php',
16 Warning: file_put_contents(phar://%screate_new_phar_b.phar.tar/a.php): Failed to open stream: phar …
/PHP-8.2/ext/phar/tests/zip/
H A Dcreate_new_phar_b.phpt11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php',
16 Warning: file_put_contents(phar://%screate_new_phar_b.phar.zip/a.php): Failed to open stream: phar …
/PHP-8.2/sapi/fpm/tests/
H A Dlog-bwp-realloc-buffer.phpt26 file_put_contents('php://stderr', str_repeat('a', 100));
28 file_put_contents('php://stderr', str_repeat('b', 2500) . "\n");
/PHP-8.2/sapi/fuzzer/
H A Dgenerate_mbstring_dict.php12 file_put_contents(__DIR__ . "/dict/mbstring", $dict);
H A Dgenerate_unserialize_dict.php9 file_put_contents(__DIR__ . "/dict/unserialize", $dict);
/PHP-8.2/sapi/phpdbg/tests/
H A Dgh12675.phpt6 ev file_put_contents("gh12675_1.tmp", "<?php echo 'hi';\necho 2;")
7 ev file_put_contents("gh12675_2.tmp", "<?php echo 'hi';")
/PHP-8.2/win32/build/
H A Dregistersyslog.php10 file_put_contents("win32/syslog.reg", <<<REG
/PHP-8.2/sapi/cgi/tests/
H A D006.phpt30 file_put_contents($filename, $code);
45 file_put_contents($filename, $code);
/PHP-8.2/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt31 file_put_contents("mklink_junction\\a.php", "<?php echo \"I am included.\n\" ?>");
33 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
35 file_put_contents("$fullpath\\mnt\\test\\mklink_junction\\c.php", "<?php echo \"I am included.\n\" …
H A Dbug48746_3.phpt25 file_put_contents("junction\\a.php", "<?php echo \"I am included.\n\" ?>");
26 file_put_contents("junction\\b.php", "<?php echo \"I am included.\n\" ?>");
/PHP-8.2/ext/curl/tests/
H A Dcurl_copy_handle_variation5.phpt16 file_put_contents($filename, "Test.");
24 file_put_contents($filename, "Other test.");

Completed in 37 milliseconds

12345678910>>...14