/PHP-5.6/ext/standard/tests/array/ |
H A D | end_64bit.phpt | 53 // 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 D | shuffle_basic1.phpt | 32 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 D | 006.phpt | 57 $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 D | refcur_prefetch_2.phpt | 36 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 D | imp_res_2.phpt | 28 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 D | bug44206.phpt | 17 $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 D | socket_sentto_recvfrom_unix.phpt | 21 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 D | pdo_mysql_stmt_fetch_serialize.phpt | 69 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 D | bug_33689.phpt | 19 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 D | pdo_mysql_get_attribute.phpt | 37 …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 D | property_recreate_protected.phpt | 22 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 D | implicit_instantiation_001.phpt | 42 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 D | interface_constant_inheritance_002.phpt | 2 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 D | cyr_convert.c | 204 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 D | autoload.inc | 13 * 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 D | openssl_csr_sign_basic.phpt | 51 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 D | bug25614.phpt | 2 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 D | mbfilter.h | 125 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 D | bug77022.phpt | 20 $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 D | arrayObject_setIteratorClass_error1.phpt | 46 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 D | strtr_variation4.phpt | 5 /* 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 D | stream_get_meta_data_socket_variation4.phpt | 22 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 D | README.libedit | 2 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 D | createfromwbmp.phpt | 12 echo 'test create from wbmp: '; 17 test create from wbmp: ok
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | userwrapper.phpt | 10 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
|