Home
last modified time | relevance | path

Searched refs:of (Results 76 – 100 of 4844) sorted by relevance

12345678910>>...194

/PHP-7.1/ext/standard/tests/file/
H A Dfilesize_variation2-win32.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
13 (and generates an error of level E_WARNING) in case of an error.
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
[all …]
H A Dfilesize_variation2.phpt2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
13 (and generates an error of level E_WARNING) in case of an error.
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
[all …]
H A Dsymlink_link_linkinfo_is_link_variation4.phpt27 Check size of file and hard link
47 echo "\n-- Check size of hard link and file --\n";
49 echo "\nSize of file and hard link are same\n";
65 echo "\nSize of file and hard link are same\n";
83 echo "\nSize of file and hard link are same\n";
101 -- Check size of hard link and file --
103 Size of file and hard link are same
108 -- Check size of hard link and file --
110 Size of file and hard link are same
115 -- Check size of hard link and file --
[all …]
H A Dfile.inc121 // write in terms of a chunk of 1 K to avoid memory size overflow
157 $perms = new permission of the file, similar to $mode args of chmod() call
219 $size = size of the fill in terms of kilobyte, i.e size of the file.
223 "kilobytes" = take size in terms of multiple of KB
290 } // end of if
299 } // end of for
338 $size = size of the fill in terms of kilobyte, i.e size of the file.
407 } // end of if
484 } // end of for
527 Compares the each of the first 13 values of the stat array with the
[all …]
H A Dfile_basic.phpt12 echo "*** Testing file() with basic types of files ***\n";
21 echo "*** Testing for return type of file() function ***\n";
32 *** Testing file() with basic types of files ***
48 [1] => line of text
52 [3] => line of text
56 [5] => line of text
60 [7] => line of text
64 [9] => line of text
70 *** Testing for return type of file() function ***
H A Dftruncate_variation3-win32.phpt54 /* truncate it to half of its current size */
67 }//end of inner for loop
68 }//end of outer foreach loop
74 -- Testing ftruncate() with file having data of type numeric --
76 -- Testing ftruncate(): truncate file to half of its current size --
84 -- Testing ftruncate(): truncate file to half of its current size --
92 -- Testing ftruncate(): truncate file to half of its current size --
100 -- Testing ftruncate(): truncate file to half of its current size --
108 -- Testing ftruncate(): truncate file to half of its current size --
116 -- Testing ftruncate(): truncate file to half of its current size --
[all …]
/PHP-7.1/ext/date/tests/
H A Dmktime-3.phpt19 echo "out of range\n";
31 Y: 69 - out of range
36 Y: 105 - out of range
37 Y: 1900 - out of range
38 Y: 1901 - out of range
46 Y: 69 - out of range
51 Y: 105 - out of range
52 Y: 1900 - out of range
53 Y: 1901 - out of range
H A Dgmdate_variation12.phpt2 Test gmdate() function : usage variation - Valid and invalid range of timestamp.
17 echo "\n-- Testing gmdate() function with minimum range of timestamp --\n";
21 echo "\n-- Testing gmdate() function with less than the range of timestamp --\n";
24 echo "\n-- Testing gmdate() function with maximum range of timestamp --\n";
28 echo "\n-- Testing gmdate() function with greater than the range of timestamp --\n";
37 -- Testing gmdate\(\) function with minimum range of timestamp --
40 -- Testing gmdate\(\) function with less than the range of timestamp --
43 -- Testing gmdate\(\) function with maximum range of timestamp --
46 -- Testing gmdate\(\) function with greater than the range of timestamp --
/PHP-7.1/ext/iconv/tests/
H A Diconv_strrpos_error1.phpt2 Test iconv_strrpos() function : error conditions - pass incorrect number of args
11 * Description: Find position of last occurrence of a string within another
16 * Pass iconv_strrpos() an incorrect number of arguments
22 //Test iconv_strrpos with one more than the expected number of arguments
23 echo "\n-- Testing iconv_strrpos() function with more than expected no. of arguments --\n";
30 // Testing iconv_strrpos with one less than the expected number of arguments
31 echo "\n-- Testing iconv_strrpos() function with less than expected no. of arguments --\n";
40 -- Testing iconv_strrpos() function with more than expected no. of arguments --
45 -- Testing iconv_strrpos() function with less than expected no. of arguments --
H A Diconv_strpos_error1.phpt2 Test iconv_strpos() function : error conditions - Pass incorrect number of args
11 * Description: Find position of first occurrence of a string within another
16 * Test how iconv_strpos behaves when passed an incorrect number of arguments
22 //Test iconv_strpos with one more than the expected number of arguments
23 echo "\n-- Testing iconv_strpos() function with more than expected no. of arguments --\n";
31 // Testing iconv_strpos with one less than the expected number of arguments
32 echo "\n-- Testing iconv_strpos() function with less than expected no. of arguments --\n";
41 -- Testing iconv_strpos() function with more than expected no. of arguments --
46 -- Testing iconv_strpos() function with less than expected no. of arguments --
/PHP-7.1/ext/mbstring/tests/
H A Dmb_strpos_error1.phpt2 Test mb_strpos() function : error conditions - Pass incorrect number of args
11 * Description: Find position of first occurrence of a string within another
16 * Test how mb_strpos behaves when passed an incorrect number of arguments
22 //Test mb_strpos with one more than the expected number of arguments
23 echo "\n-- Testing mb_strpos() function with more than expected no. of arguments --\n";
31 // Testing mb_strpos with one less than the expected number of arguments
32 echo "\n-- Testing mb_strpos() function with less than expected no. of arguments --\n";
41 -- Testing mb_strpos() function with more than expected no. of arguments --
46 -- Testing mb_strpos() function with less than expected no. of arguments --
H A Dmb_strrpos_error1.phpt2 Test mb_strrpos() function : error conditions - pass incorrect number of args
11 * Description: Find position of last occurrence of a string within another
16 * Pass mb_strrpos() an incorrect number of arguments
22 //Test mb_strrpos with one more than the expected number of arguments
23 echo "\n-- Testing mb_strrpos() function with more than expected no. of arguments --\n";
31 // Testing mb_strrpos with one less than the expected number of arguments
32 echo "\n-- Testing mb_strrpos() function with less than expected no. of arguments --\n";
41 -- Testing mb_strrpos() function with more than expected no. of arguments --
46 -- Testing mb_strrpos() function with less than expected no. of arguments --
H A Dmb_stripos_error1.phpt2 Test mb_stripos() function : error conditions - Pass incorrect number of args
11 * Description: Finds position of first occurrence of a string within another, case insensitive
17 * Test how mb_stripos behaves when passed an incorrect number of arguments
23 //Test mb_stripos with one more than the expected number of arguments
24 echo "\n-- Testing mb_stripos() function with more than expected no. of arguments --\n";
32 // Testing mb_stripos with one less than the expected number of arguments
33 echo "\n-- Testing mb_stripos() function with less than expected no. of arguments --\n";
42 -- Testing mb_stripos() function with more than expected no. of arguments --
47 -- Testing mb_stripos() function with less than expected no. of arguments --
H A Dmb_strripos_error1.phpt2 Test mb_strripos() function : error conditions - Pass incorrect number of args
11 * Description: Finds position of last occurrence of a string within another, case insensitive
17 * Test how mb_strripos behaves when passed an incorrect number of arguments
23 //Test mb_strripos with one more than the expected number of arguments
24 echo "\n-- Testing mb_strripos() function with more than expected no. of arguments --\n";
32 // Testing mb_strripos with one less than the expected number of arguments
33 echo "\n-- Testing mb_strripos() function with less than expected no. of arguments --\n";
42 -- Testing mb_strripos() function with more than expected no. of arguments --
47 -- Testing mb_strripos() function with less than expected no. of arguments --
/PHP-7.1/ext/gd/libgd/
H A Dgdtest.c27 char of[256]; in main() local
59 snprintf (of, sizeof(of), "%s.png", argv[1]); in main()
60 out = fopen (of, "wb"); in main()
64 in = fopen (of, "rb"); in main()
75 unlink (of); in main()
91 snprintf (of, sizeof(of), "%s.gd2", argv[1]); in main()
107 unlink (of); in main()
126 snprintf (of, sizeof(of), "%s.gd", argv[1]); in main()
142 unlink (of); in main()
183 snprintf (of, sizeof(of), "%s.snk", argv[1]); in main()
[all …]
/PHP-7.1/ext/mbstring/libmbfl/
H A DLICENSE27 When we speak of free software, we are referring to freedom of use,
98 programs enables a greater number of people to use a large body of
146 on the Library (independent of the use of the Library in a tool for
196 on the Library, the distribution of the whole must be on the terms of
212 License instead of this License to a given copy of the Library. To do
215 instead of to this License. (If a newer version than version 2 of the
224 This option is useful when you wish to copy part of the code of
240 5. A program that contains no derivative of any portion of the
284 of these things:
403 be a consequence of the rest of this License.
[all …]
/PHP-7.1/ext/standard/tests/dir/
H A Dreaddir_variation4-win32-mb.phpt94 resource(%d) of type (stream)
98 resource(%d) of type (stream)
102 resource(%d) of type (stream)
106 resource(%d) of type (stream)
110 resource(%d) of type (stream)
114 resource(%d) of type (stream)
118 resource(%d) of type (stream)
122 resource(%d) of type (stream)
126 resource(%d) of type (stream)
130 resource(%d) of type (stream)
[all …]
H A Dreaddir_variation4.phpt88 resource(%d) of type (stream)
92 resource(%d) of type (stream)
96 resource(%d) of type (stream)
100 resource(%d) of type (stream)
104 resource(%d) of type (stream)
108 resource(%d) of type (stream)
112 resource(%d) of type (stream)
116 resource(%d) of type (stream)
120 resource(%d) of type (stream)
124 resource(%d) of type (stream)
[all …]
/PHP-7.1/Zend/RFCs/
H A D001.txt15 and not by value (one can think of a handle as an objects' ID).
26 model will allow the addressing of many needs such as destructors,
27 de-referencing method return values, tight control of object
51 The previous code will assign $object the handle of a new instance of
52 the class MyClass and call one of its methods.
81 member is set to the string value of "bar". Because of the internal
86 of $object. Line 22 will then result in "bar" being printed.
116 Many PHP programmers aren't even aware of the copying quirks of the
118 that the amount of PHP applications that will work out of the box or
119 after a very small amount of modifications would be high.
[all …]
/PHP-7.1/Zend/tests/type_declarations/
H A Dscalar_strict_basic.phpt71 *** Caught Argument 1 passed to {closure}() must be of the type integer, float given, called in %s …
74 *** Caught Argument 1 passed to {closure}() must be of the type integer, string given, called in %s…
83 *** Caught Argument 1 passed to {closure}() must be of the type integer, null given, called in %s o…
86 *** Caught Argument 1 passed to {closure}() must be of the type integer, array given, called in %s …
103 *** Caught Argument 1 passed to {closure}() must be of the type float, string given, called in %s o…
106 *** Caught Argument 1 passed to {closure}() must be of the type float, boolean given, called in %s …
112 *** Caught Argument 1 passed to {closure}() must be of the type float, null given, called in %s on …
115 *** Caught Argument 1 passed to {closure}() must be of the type float, array given, called in %s on…
118 *** Caught Argument 1 passed to {closure}() must be of the type float, object given, called in %s o…
129 *** Caught Argument 1 passed to {closure}() must be of the type string, float given, called in %s o…
[all …]
/PHP-7.1/ext/imap/tests/
H A Dimap_fetch_overview_error.phpt2 Test imap_fetch_overview() function : error conditions - incorrect number of args
10 * Description: Read an overview of the information in the headers
11 * of the given message sequence
16 * Pass an incorrect number of arguments to imap_fetch_overview() to test behaviour
23 //Test imap_fetch_overview with one more than the expected number of arguments
24 echo "\n-- Testing imap_fetch_overview() function with more than expected no. of arguments --\n";
31 // Testing imap_fetch_overview with one less than the expected number of arguments
32 echo "\n-- Testing imap_fetch_overview() function with less than expected no. of arguments --\n";
43 -- Testing imap_fetch_overview() function with more than expected no. of arguments --
50 -- Testing imap_fetch_overview() function with less than expected no. of arguments --
/PHP-7.1/ext/standard/tests/strings/
H A Dchop_variation3.phpt6 * Description: Strip whitespace (or other characters) from the end of a string
26 first line of heredoc string
27 second line of heredoc string
28 third line of heredocstring
75 string(86) "first line of heredoc string
76 second line of heredoc string
77 third line of heredocstring"
78 string(86) "first line of heredoc string
79 second line of heredoc string
80 third line of heredocstring"
H A Dstripos_error.phpt6 * Description: Find position of first occurrence of a case-insensitive string
14 echo "\n-- With less than expected number of arguments --";
17 echo "\n-- With more than expected number of arguments --";
20 echo "\n-- Offset beyond the end of the string --";
23 echo "\n-- Offset before the start of the string --";
35 -- With less than expected number of arguments --
39 -- With more than expected number of arguments --
43 -- Offset beyond the end of the string --
47 -- Offset before the start of the string --
/PHP-7.1/Zend/tests/typehints/
H A Dor_null.phpt222 … Argument 1 passed to unloadedClass() must be an instance of I\Dont\Exist or null, instance of std…
226 TypeError: Argument 1 passed to loadedClass() must be an instance of RealClass or null, instance of
258 TypeError: Return value of returnUnloadedClass() must be an instance of I\Dont\Exist or null, insta…
262 TypeError: Return value of returnLoadedClass() must be an instance of RealClass or null, instance o…
266 TypeError: Return value of returnLoadedInterface() must implement interface RealInterface or be nul…
270 TypeError: Return value of returnUnloadedClassScalar() must be an instance of I\Dont\Exist or null,…
274 TypeError: Return value of returnLoadedClassScalar() must be an instance of RealClass or null, inte…
290 TypeError: Return value of returnInt() must be of the type integer or null, object returned in %s:1…
294 TypeError: Return value of returnMissingUnloadedClass() must be an instance of I\Dont\Exist or null…
298 TypeError: Return value of returnMissingLoadedClass() must be an instance of RealClass or null, non…
[all …]
/PHP-7.1/ext/standard/tests/array/
H A Darray_multisort_variation9.phpt2 Test array_multisort() function : usage variation - test sort order of all types
11 echo "*** Testing array_multisort() : usage variation - test sort order of all types***\n";
30 'instance of classWithToString' => new classWithToString(),
31 'instance of classWithoutToString' => new classWithoutToString(),
41 *** Testing array_multisort() : usage variation - test sort order of all types***
43 Notice: Object of class classWithToString could not be converted to float in %sarray_multisort_vari…
45 Notice: Object of class classWithToString could not be converted to float in %sarray_multisort_vari…
47 Notice: Object of class classWithoutToString could not be converted to float in %sarray_multisort_v…
49 Notice: Object of class classWithoutToString could not be converted to float in %sarray_multisort_v…
69 ["instance of classWithToString"]=>
[all …]

Completed in 46 milliseconds

12345678910>>...194