Home
last modified time | relevance | path

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

12345678910>>...15

/php-src/ext/ftp/tests/
H A Dftp_append.phpt16 file_put_contents($fooPath, 'foo');
20 file_put_contents($barPath, 'bar');
/php-src/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-src/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');
/php-src/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);
111 *** Testing file_put_contents() : usage variation ***
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");
H A Dfile_put_contents_variation4.phpt2 Test file_put_contents() function : variation - include path testing
30 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
32 file_put_contents($filename, "File written in working directory", FILE_USE_INCLUDE_PATH);
/php-src/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-src/sapi/cli/tests/
H A D011.phpt27 file_put_contents($filename, $code);
42 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-src/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-src/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-src/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-src/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-src/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-src/win32/build/
H A Dregistersyslog.php10 file_put_contents("win32/syslog.reg", <<<REG
/php-src/sapi/cgi/tests/
H A D006.phpt30 file_put_contents($filename, $code);
45 file_put_contents($filename, $code);
H A D002.phpt16 file_put_contents($file, '<?php var_dump(ini_get("max_execution_time")); ?>');
22 file_put_contents($file, '<?php var_dump(ini_get("max_execution_time")); var_dump(ini_get("upload_t…
/php-src/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\" …
/php-src/ext/curl/tests/
H A Dcurl_copy_handle_variation5.phpt16 file_put_contents($filename, "Test.");
24 file_put_contents($filename, "Other test.");

Completed in 22 milliseconds

12345678910>>...15