Home
last modified time | relevance | path

Searched refs:a (Results 551 – 575 of 6311) sorted by relevance

1...<<21222324252627282930>>...253

/PHP-5.5/ext/standard/tests/array/
H A Dbug50006.phpt14 function magic_sort_cmp($a, $b) {
15 $a = substr($a, 1);
17 if (!$a) return $b ? -1 : 0;
19 return magic_sort_cmp($a, $b);
H A Darray_diff_uassoc_variation13.phpt6 …Description: Computes the difference of arrays with additional index check which is performed by a
14 $ref_var = 'a';
15 $array1 = array('a', $ref_var);
16 $array2 = array('a' => 1, &$ref_var);
39 -- Testing array_diff_uassoc() function with referenced variable $ref_var has value 'a' --
42 string(1) "a"
45 ["a"]=>
52 string(1) "a"
54 string(1) "a"
57 ["a"]=>
H A Dbug50006_1.phpt14 function magic_sort_cmp($a, $b) {
15 $a = substr($a, 1);
17 if (!$a) return $b ? -1 : 0;
19 return magic_sort_cmp($a, $b);
H A Dbug50006_2.phpt14 function magic_sort_cmp($a, $b) {
15 $a = substr($a, 1);
17 if (!$a) return $b ? -1 : 0;
19 return magic_sort_cmp($a, $b);
H A Dnext_variation2.phpt12 * 1. a two-dimensional array
13 * 2. a sub-array
19 $array_arg = array ('a' => 'z', array(9, 8, 7));
21 echo "\n-- Pass a two-dimensional array as \$array_arg --\n";
25 echo "\n-- Pass a sub-array as \$array_arg --\n";
32 -- Pass a two-dimensional array as $array_arg --
43 -- Pass a sub-array as $array_arg --
/PHP-5.5/ext/reflection/tests/
H A DReflectionObject_isSubclassOf_basic.phpt41 Is A a subclass of A?
45 Is A a subclass of B?
49 Is A a subclass of C?
53 Is A a subclass of I?
56 Is A a subclass of X?
60 Is B a subclass of A?
64 Is B a subclass of B?
68 Is B a subclass of C?
72 Is B a subclass of I?
75 Is B a subclass of X?
[all …]
/PHP-5.5/ext/standard/tests/file/
H A D001.phpt35 echo "test.file is a symlink\n";
37 echo "test.file is not a symlink\n";
40 echo "test.link is a symlink\n";
98 echo "../file is a directory\n";
125 test.file is not a symlink
126 test.link is a symlink
140 test.file is a regular file
141 test.link is a regular file
142 test.link is not a directory
143 ../file is a directory
[all …]
H A Dfile_variation5-win32.phpt23 echo "file() on a path containing .. and .\n";
26 echo "\nfile() on a path containing .. with invalid directories\n";
29 echo "\nfile() on a relative path from a different working directory\n";
40 file() on a path containing .. and .
52 file() on a path containing .. with invalid directories
64 file() on a relative path from a different working directory
/PHP-5.5/ext/standard/tests/strings/
H A Dstrtoupper1-win32.phpt57 var_dump( strtoupper("a", "b") ); /* Arguments > Expected */
73 0a => 0a
89 1a => 1a
105 2a => 2a
121 3a => 3a
137 4a => 4a
153 5a => 5a
169 6a => 4a
185 7a => 5a
201 8a => 8a
[all …]
/PHP-5.5/ext/curl/tests/
H A Dcurl_escape.phpt1 --TEST--
2 Test curl_escape and curl_unescape() functions
3 --SKIPIF--
4 <?php
5 if (!extension_loaded("curl")) exit("skip curl extension not loaded");
6 if (!function_exists("curl_escape")) exit("skip curl_escape doesn't exists");
7 $curl_version = curl_version();
8 if ($curl_version['version_number'] < 0x071502) {
9 exit("skip: tests works only on curl >= 7.21.2");
10 }
[all …]
/PHP-5.5/tests/lang/
H A D008.phpt8 static $a=1;
9 echo "$a ";
10 $a++;
11 if($a<10): Test(); endif;
/PHP-5.5/Zend/tests/
H A Dbug55135.phpt7 $a = "1";
8 unset($array[$a]);
13 $a = 1;
14 unset($array[$a]);
22 $a = 1;
/PHP-5.5/tests/classes/
H A Dassign_op_property_001.phpt10 if ($property == "a") {
16 if ($property == "a") {
23 var_dump($obj->a);
24 $obj->a += 2;
25 var_dump($obj->a);
/PHP-5.5/ext/pcre/pcrelib/
H A DChangeLog10 1. If a group that contained a recursive back reference also contained a
207 7. A UTF pattern containing a "not" match of a non-ASCII character and a
222 9. A reference to a duplicated named group (either a back reference or a test
317 a fixed maximum following a group that contains a subroutine reference was
418 15. If a pattern that started with a caseless match for a character with more
436 20. A pattern such as /((?(R)a|(?1)))+/, which contains a recursion within a
1684 (?(?=(a))a) was matched against "a", no capturing was returned.
1733 For example, [:a[:digit:]b:] matches "a", "b", ":", or a digit. Also,
2290 was a minimum greater than 1 for a wide character in a possessive
4690 a void * provoked a warning.
[all …]
/PHP-5.5/ext/spl/tests/
H A Dfixedarray_015.phpt6 $a = new SplFixedArray('');
9 var_dump($a[1]);
14 $a[1] = 1;
19 var_dump(count($a[1]));
24 var_dump($a->getSize());
29 foreach ($a as $v) {
35 var_dump($a->setSize(10));
/PHP-5.5/ext/phar/tests/
H A Dphar_construct_invalidurl.phpt10 $a = new Phar('http://should.fail.com');
15 $a = new Phar('http://');
20 $a = new Phar('http:/');
27 Cannot create a phar archive from a URL like "http://should.fail.com". Phar objects can only be cre…
28 Cannot create a phar archive from a URL like "http://". Phar objects can only be created from local…
H A Dpharfileinfo_getcrc32.phpt19 $files['a/subdir/here'] = array('cont'=>'a','ulen'=>1,'clen'=>1);;
22 $b = new PharFileInfo($pname . '/a/subdir');
29 $b = new PharFileInfo($pname . '/a/subdir/here');
35 $a = file_get_contents($pname . '/a/subdir/here');
46 Phar entry is a directory, does not have a CRC
/PHP-5.5/ext/phar/tests/tar/
H A Dbignames_overflow.phpt17 $tar->addFile(str_repeat('a', 101), 'hi');
18 $tar->addFile(str_repeat('a', 255), 'hi2');
25 echo $p1['a/' . str_repeat('a', 100)]->getContent() . "\n";
26 echo $p1[str_repeat('a', 155) . '/' . str_repeat('a', 100)]->getContent() . "\n";
36 a
/PHP-5.5/ext/session/tests/
H A D014.phpt2 a script should not be able to modify session.use_trans_sid
21 <a href="/link">
25 <a href="/link">
29 <a href="/link">
34 <a href="/link">
37 <a href="/link">
40 <a href="/link">
/PHP-5.5/ext/standard/tests/network/
H A Dfsockopen_variation1.phpt2 testing fsockopen without a protocol string
6 echo "Open a server socket\n";
16 echo "\nCalling fsockopen() without a protocol in the hostname string:\n";
22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
31 Open a server socket
33 Calling fsockopen() without a protocol in the hostname string:
36 Calling fsockopen() with address and port in same string, without a protocol:
/PHP-5.5/ext/openssl/tests/
H A D002.phpt8 $a = 1;
13 var_dump(openssl_seal($a, $b, $c, $d));
14 var_dump(openssl_seal($a, $a, $a, array()));
21 Warning: openssl_seal(): not a public key (1th member of pubkeys) in %s on line %d
24 Warning: openssl_seal(): Fourth argument to openssl_seal() must be a non-empty array in %s on line …
/PHP-5.5/ext/ctype/tests/
H A Dctype_space_variation2.phpt23 echo "character code $c is a space character\n";
31 character code 9 is a space character
32 character code 10 is a space character
33 character code 11 is a space character
34 character code 12 is a space character
35 character code 13 is a space character
36 character code 32 is a space character
/PHP-5.5/ext/standard/tests/general_functions/
H A Dcall_user_func_array_variation_002.phpt6 …* Description: Call a user function which is the first parameter with the arguments contained in a…
110 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
114 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
118 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
122 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
126 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
130 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
134 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
138 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
142 Error: 2 - call_user_func_array() expects parameter 1 to be a valid callback, no array or string gi…
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgdft.c110 #define MAX(a,b) ((a)>(b)?(a):(b)) argument
114 #define MIN(a,b) ((a)<(b)?(a):(b)) argument
346 font_t *a; local
434 gdPFree(a);
442 gdPFree(a);
476 return (void *)a;
503 gdPFree(a);
510 return (void *) a;
530 …return (a->pixel == b->pixel && a->bgcolor == b->bgcolor && a->fgcolor == b->fgcolor && a->im == b…
544 tweencolor_t *a; local
[all …]
/PHP-5.5/tests/basic/
H A D019.phpt4 a[]=1&a[]]=3&a[[]=4
7 var_dump($_POST['a']);

Completed in 113 milliseconds

1...<<21222324252627282930>>...253