Home
last modified time | relevance | path

Searched refs:from (Results 101 – 125 of 1496) sorted by relevance

12345678910>>...60

/PHP-5.6/ext/standard/tests/array/
H A Dend_64bit.phpt53 // remove first element from array
54 echo "\n-- Remove first element from array --\n";
58 // remove last element from array, rewind and check end()
59 echo "\n-- Remove last element from array --\n";
66 echo "\n-- Remove any element from array apart from first and last element --\n";
196 -- Remove first element from array --
199 -- Remove last element from array --
203 -- Remove any element from array apart from first and last element --
H A Dshuffle_basic1.phpt32 echo "\n-- return value from shuffle() function --\n";
33 var_dump( shuffle($array_arg_int) ); // prints the return value from shuffle() function
45 echo "\n-- return value from shuffle() function --\n";
46 var_dump( shuffle($array_arg_strings) ); // prints the return value from shuffle() function
78 -- return value from shuffle() function --
125 -- return value from shuffle() function --
/PHP-5.6/ext/interbase/tests/
H A D006.phpt57 $sel = ibase_query("select * from test6 where iter = ?", $iter);
122 ibase_query("delete from test6");
133 "select iter from test6 where v_char = ?", $v_char)) ||
139 "select iter from test6 where v_date = ?", $v_date)) ||
145 "select iter from test6 where v_decimal = ?", $v_decimal)) ||
151 "select iter from test6 where v_integer = ?", $v_integer)) ||
157 "select iter from test6 where v_numeric = ?", $v_numeric)) ||
163 "select iter from test6 where v_smallint = ?", $v_smallint)) ||
169 "select iter from test6 where v_varchar = ?", $v_varchar)) ||
180 ibase_query("delete from test6");
[all …]
/PHP-5.6/ext/oci8/tests/
H A Drefcur_prefetch_2.phpt36 open cur1 for select * from refcurtest order by c1;
63 // Steps to Fetch from PHP . For every sub-test,the cursor is bound and then executed.
73 // Steps to Fetch from PL/SQL . For every sub-test,the cursor is bound and then executed.
110 // Fetch from PHP
116 echo "Fetch Row from PHP\n";
122 // Fetch from PL/SQL
127 echo "Fetch Row from PL/SQL\n";
132 $sql_stmt = "select value from v\$mystat a,v\$statname c where
133 a.statistic#=c.statistic# and c.name='SQL*Net roundtrips to/from client'";
217 Fetch Row from PHP
[all …]
H A Dimp_res_2.phpt28 open c1 for select * from dual where 1 = 0;
35 open c1 for select * from dual;
37 open c1 for select * from dual where 1 = 0;
44 open c1 for select * from dual where 1 = 0;
46 open c1 for select * from dual;
H A Dbug44206.phpt17 $stmt = "select cursor (select $x from dual) a,
18 cursor (select $x from dual) b
19 from dual";
/PHP-5.6/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_unix.phpt21 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); //false (EAGAIN, no warning)
39 $from = "";
40 var_dump(socket_recvfrom($socket, $buf, 0, 0, $from)); // expect false
41 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from);
44 die('An error occurred while receiving from the socket');
/PHP-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetch_serialize.phpt69 return 'Data from serialize';
98 …printf("\nUsing PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize …
104 printf("\nUsing PDO::FETCH_CLASS to fetch the object from DB and unserialize it...\n");
131 myclass::unserialize('Data from serialize')
137 Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it...
138 myclass::unserialize('C:7:"myclass":19:{Data from serialize}')
144 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
145 myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
151 %unicode|string%(38) "C:7:"myclass":19:{Data from serialize}"
H A Dbug_33689.phpt19 var_dump($db->query('SELECT * from test'));
20 foreach ($db->query('SELECT * from test') as $row) {
24 $stmt = $db->prepare('SELECT * from test');
45 %unicode|string%(18) "SELECT * from test"
H A Dpdo_mysql_get_attribute.phpt37 …O::setAttribute(int attribute, mixed value) has changed the type of value from %s to %s, test will…
80 Read options from the named option file instead of from my.cnf.
83 … Read options from the named group from my.cnf or the file specified with MYSQL_READ_DEFAULT_FILE.
105 [001] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value from inte…
/PHP-5.6/tests/classes/
H A Dproperty_recreate_protected.phpt22 echo "Unset and recreate a protected property from property's declaring class scope:\n";
27 echo "\nUnset and recreate a protected property from subclass:\n";
39 Unset and recreate a protected property from property's declaring class scope:
45 Unset and recreate a protected property from subclass:
H A Dimplicit_instantiation_001.phpt42 Warning: Creating default object from empty value in %s on line 18
48 Warning: Creating default object from empty value in %s on line 22
52 Warning: Creating default object from empty value in %s on line 26
60 Warning: Creating default object from empty value in %s on line 18
66 Warning: Creating default object from empty value in %s on line 22
70 Warning: Creating default object from empty value in %s on line 26
78 Warning: Creating default object from empty value in %s on line 18
84 Warning: Creating default object from empty value in %s on line 22
88 Warning: Creating default object from empty value in %s on line 26
H A Dinterface_constant_inheritance_002.phpt2 Ensure a class may not shadow a constant inherited from an interface.
17 Fatal error: Cannot inherit previously-inherited or override constant FOO from interface I in %s on…
/PHP-5.6/ext/standard/
H A Dcyr_convert.c204 static char * php_convert_cyr_string(unsigned char *str, int length, char from, char to TSRMLS_DC) in php_convert_cyr_string() argument
213 switch (toupper((int)(unsigned char)from)) in php_convert_cyr_string()
231 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown source charset: %c", from); in php_convert_cyr_string()
/PHP-5.6/ext/spl/examples/
H A Dautoload.inc13 * Tries to load class $classname from directory $dir.
31 * Loads classes automatically from include_path as given by ini or from
/PHP-5.6/ext/openssl/tests/
H A Dopenssl_csr_sign_basic.phpt51 Warning: openssl_csr_sign(): cannot get cert from parameter 2 in %s on line %d
54 Warning: openssl_csr_sign(): cannot get private key from parameter 3 in %s on line %d
63 Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in %s on line %d
66 Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in %s on line %d
69 Warning: openssl_csr_sign(): cannot get cert from parameter 2 in %s on line %d
74 Warning: openssl_csr_sign(): cannot get private key from parameter 3 in %s on line %d
H A Dbug25614.phpt2 openssl: get public key from generated private key
14 Warning: openssl_pkey_get_public(): Don't know how to get public key from this private key %s
/PHP-5.6/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h125 const mbfl_encoding *from; member
129 MBFLAPI extern mbfl_buffer_converter * mbfl_buffer_converter_new(enum mbfl_no_encoding from, enum m…
130 MBFLAPI extern mbfl_buffer_converter * mbfl_buffer_converter_new2(const mbfl_encoding *from, const …
207 mbfl_substr(mbfl_string *string, mbfl_string *result, int from, int length);
213 mbfl_strcut(mbfl_string *string, mbfl_string *result, int from, int length);
225 mbfl_strimwidth(mbfl_string *string, mbfl_string *marker, mbfl_string *result, int from, int width);
/PHP-5.6/ext/phar/tests/
H A Dbug77022.phpt20 $phar->addFromString("test-from-string", 'test-file-phar');
23 var_dump(decoct(stat(__DIR__ . '/test-from-string')['mode']));
25 unlink(__DIR__ . '/test-from-string');
/PHP-5.6/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt46 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat…
51 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat…
55 string(113) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato…
56 string(105) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato…
/PHP-5.6/ext/standard/tests/strings/
H A Dstrtr_variation4.phpt5 /* Prototype : string strtr(string $str, string $from[, string $to]);
13 * corresponding translation pair of chars for 'from', 'to' & 'replace_pairs' arguments
35 $from = "";
47 var_dump( strtr($str, $from, $to) );
/PHP-5.6/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation4.phpt22 echo "\n\nRead a line from the client:\n";
26 echo "\n\nClose the server side socket and read the remaining data from the client:\n";
57 Read a line from the client:
76 Close the server side socket and read the remaining data from the client:
/PHP-5.6/ext/readline/
H A DREADME.libedit2 Libedit can be obtained from http://sourceforge.net/projects/libedit/
3 It is taken from NetBSD (http://www.netbsd.org/) CVS repository and modified
/PHP-5.6/ext/gd/tests/
H A Dcreatefromwbmp.phpt12 echo 'test create from wbmp: ';
17 test create from wbmp: ok
/PHP-5.6/ext/standard/tests/file/
H A Duserwrapper.phpt10 function rename($from, $to) {
11 print "Renaming $from to $to\n";
37 rename('test://example.com/path/to/from', 'test://example.com/path/to/to');
39 @rename('test://example.com/path/to/from', 'http://example.com/path/to/to');
48 Renaming test://example.com/path/to/from to test://example.com/path/to/to

Completed in 33 milliseconds

12345678910>>...60