Home
last modified time | relevance | path

Searched refs:links (Results 1 – 25 of 65) sorted by relevance

123

/PHP-5.4/ext/mysql/tests/
H A Dmysql_max_links.phpt32 $links = array();
34 // try to open 3 links
38 if (false !== $links[2])
41 // free some links but let index 1 remain
42 unset($links[2]);
43 mysql_close($links[0]);
44 unset($links[0]);
49 ksort($links);
50 var_dump($links);
52 mysql_close($links[0]);
[all …]
H A Dmysql_max_persistent.phpt55 $links = array();
57 // try to open 2 links
58 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket);
60 if (false !== $links[1])
63 // free some links but let index 1 remain
64 unset($links[1]);
65 mysql_close($links[0]);
66 unset($links[0]);
70 var_dump($links);
73 mysql_query('DROP USER pcontest', $links[0]);
[all …]
/PHP-5.4/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_variation1.phpt45 /* Testing on soft links */
46 echo "\n-- Working with soft links --\n";
58 /* Testing on hard links */
59 echo "\n-- Working with hard links --\n";
75 /* Testing on soft links */
88 /* Testing on hard links */
96 // delete the links created
115 -- Working with soft links --
120 -- Working with hard links --
127 -- Working with soft links --
[all …]
H A Dis_file_variation2.phpt2 Test is_file() function: usage variations - links
15 /* Creating soft and hard links to a file and applying is_file() on links */
20 echo "*** Testing is_file() with links ***\n";
42 *** Testing is_file() with links ***
H A Dfilegroup_variation1.phpt2 Test filegroup() function: usage variations - links
16 /* Creating soft and hard links to a file and applying filegroup() on links */
21 echo "*** Testing filegroup() with links ***\n";
43 *** Testing filegroup() with links ***
H A Dfileinode_variation1.phpt2 Test fileinode() function: usage variations - links
17 /* Creating soft and hard links to a file and applying fileinode() on links */
22 echo "*** Testing fileinode() with links ***\n";
44 *** Testing fileinode() with links ***
H A Dfileperms_variation1.phpt2 Test fileperms() function: usage variations - links
16 /* Creating soft and hard links to a file and applying fileperms() on links */
21 echo "*** Testing fileperms() with links ***\n";
43 *** Testing fileperms() with links ***
H A Dfileowner_variation1.phpt2 Test fileowner() function: usage variations - links
17 /* Creating soft and hard links to a file and applying fileowner() on links */
22 echo "*** Testing fileowner() with links ***\n";
44 *** Testing fileowner() with links ***
H A Dsymlink_link_linkinfo_is_link_basic1.phpt35 // creating file in $dirname, links are created to the this file
57 echo "-- Testing on soft links --\n";
68 echo "-- Testing on hard links --\n";
78 // deleting the links
96 -- Testing on soft links --
100 -- Testing on hard links --
106 -- Testing on soft links --
110 -- Testing on hard links --
H A Dsymlink_link_linkinfo_is_link_variation6.phpt41 /* Variation 6 : Change permission of directory and try creating links inside that directory */
44 echo "*** Creating links in a directory without permission to allow the operation ***\n";
53 echo "\n-- Working with soft links --\n";
63 echo "\n-- Working with hard links --\n";
87 *** Creating links in a directory without permission to allow the operation ***
90 -- Working with soft links --
99 -- Working with hard links --
H A Dfopen_variation19.phpt39 echo "*** testing reading of links ***\n";
47 echo "*** test appending to links ***\n";
55 echo "*** test overwriting links ***\n";
98 *** testing reading of links ***
102 *** test appending to links ***
106 *** test overwriting links ***
H A Dfileinode_variation.phpt16 echo "*** Testing fileinode() with files, links and directories ***\n";
33 echo "-- Testing with links: hard link --\n";
40 echo "-- Testing with links: soft link --\n";
90 *** Testing fileinode() with files, links and directories ***
94 -- Testing with links: hard link --
97 -- Testing with links: soft link --
H A Drename_variation2.phpt18 /* Testing rename() on soft and hard links with different permissions */
19 echo "\n*** Testing rename() on soft links ***\n";
25 // create the soft links to the file
56 *** Testing rename() on soft links ***
H A Dunlink_variation3.phpt2 Test unlink() function : usage variations - unlink links
15 /* Delete link files - soft and hard links */
21 echo "*** Testing unlink() on soft and hard links ***\n";
49 *** Testing unlink() on soft and hard links ***
H A Dfiletype_variation.phpt36 echo "-- Checking with links: hardlink --\n";
40 echo "-- Checking with links: symlink --\n";
69 -- Checking with links: hardlink --
71 -- Checking with links: symlink --
H A Dis_dir_variation2.phpt2 Test is_dir() function: usage variations - links
20 echo "*** Testing is_dir() with dir and links to dir ***\n";
37 echo "\n*** Testing is_dir() with file and links to a file ***\n";
79 *** Testing is_dir() with dir and links to dir ***
88 *** Testing is_dir() with file and links to a file ***
H A Dsymlink_link_linkinfo_is_link_basic2.phpt43 echo "\n-- Testing on soft links --\n";
54 echo "\n-- Testing on hard links --\n";
62 // deleting the links
77 -- Testing on soft links --
82 -- Testing on hard links --
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_poll.phpt62 foreach ($links as $mysqli) {
90 $links = array($link);
93 poll_async(10, $link, $links, $errors, $reject, 0, false);
97 $links = array($link);
100 poll_async(11, $link, $links, $errors, $reject, 0, true);
104 // Difference: pass $links twice
106 $links = array($link, $link);
109 poll_async(12, $link, $links, $errors, $reject, 0, false);
114 $links = array($link, get_connection());
117 poll_async(13, $link, $links, $errors, $reject, 0, false);
[all …]
H A Dbug47050.phpt20 $links = $errors = $reject = $all_links;
21 mysqli_poll($links, $errors, $reject, 1);
23 echo "links: ", sizeof($links), "\n";
31 links: 1
H A Dmysqli_max_links.phpt21 $links = array();
23 if ($links[$i] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
26 mysqli_errno($links[$i]), mysqli_error($links[$i]));
29 if ($res = mysqli_query($links[$i], 'SELECT id FROM test LIMIT 1')) {
33 mysqli_close($links[$i]);
47 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
49 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
51 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
53 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
55 Warning: mysqli_%sonnect(): Too many open links (1) in %s on line %d
H A Dmysqli_poll_reference.phpt48 $links = $errors = $reject = array($mysqli1, $mysqli2);
53 foreach ($links as $link) {
78 $links = $errors = array($mysqli1, $mysqli2);
83 foreach ($links as $link) {
108 $links = array($mysqli1, $mysqli2);
113 foreach ($links as $link) {
139 $links = $errors = $reject = array($mysqli1, $mysqli2);
156 foreach ($links as $link) {
181 $links = $errors = $reject = $all;
192 foreach ($links as $link) {
[all …]
H A Dmysqli_poll_kill.phpt36 $links = array($link);
44 if (!is_array($links) || empty($links))
45 printf("[004] Expecting non-empty array got %s/%s\n", gettype($links), var_export($links, true));
47 foreach ($links as $link) {
65 $links = array($link);
94 $links = array($link, $link);
119 foreach ($links as $mysqli) {
142 $links = array($link);
149 if (!is_array($links) || empty($links))
150 printf("[017] Expecting non-empty array got %s/%s\n", gettype($links), var_export($links, true));
[all …]
/PHP-5.4/ext/phar/tests/tar/
H A Dlinks6.phpt11 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/link2');
12 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/link1');
13 echo file_get_contents('phar://' . dirname(__FILE__) . '/files/links.phar.tar/testit.txt');
15 $a = fopen('phar://' . dirname(__FILE__) . '/files/links.phar.tar/link2', 'r');
/PHP-5.4/ext/ldap/tests/
H A Dldap_connect_error.phpt18 $links = array();
19 $links[0] = ldap_connect($host, $port);
20 $links[1] = ldap_connect($host, $port);
30 Warning: ldap_connect(): Too many open links (1) in %s on line %d
/PHP-5.4/ext/session/tests/
H A Dbug36459.phpt2 Bug #31454 (Incorrect adding PHPSESSID to links, which contains \r\n)
20 <title>Bug #36459 Incorrect adding PHPSESSID to links, which contains \r\n</title>
33 <title>Bug #36459 Incorrect adding PHPSESSID to links, which contains \r\n</title>

Completed in 25 milliseconds

123