/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_get_cipher_name.phpt | 7 echo mcrypt_get_cipher_name(MCRYPT_RIJNDAEL_256) . "\n"; 8 echo mcrypt_get_cipher_name(MCRYPT_RC2) . "\n"; 9 echo mcrypt_get_cipher_name(MCRYPT_ARCFOUR) . "\n"; 10 echo mcrypt_get_cipher_name(MCRYPT_WAKE) . "\n";
|
/PHP-5.6/tests/classes/ |
H A D | __call_007.phpt | 9 echo "You should not see this"; 24 echo "---> Invoke __call via simple method call.\n"; 28 echo "Exception caught OK; continuing.\n"; 31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n"; 35 echo "Exception caught OK; continuing.\n"; 38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n"; 43 echo "Exception caught OK; continuing.\n"; 46 echo "\n\n---> Invoke __call via callback.\n"; 50 echo "Exception caught OK; continuing.\n";
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | current_variation4.phpt | 15 echo "*** Testing current() : usage variations ***\n"; 17 echo "\n-- Two Dimensional Array --\n"; 19 echo "Initial Position: "; 22 echo "Next Position: "; 26 echo "End Position: "; 30 echo "\n-- Access an Array Within an Array --\n"; 32 echo "Initial Position: "; 35 echo "\n-- Recursive, Multidimensional Array --\n"; 40 echo "Current Position: ";
|
H A D | array_key_exists_object1.phpt | 15 echo "*** Testing array_key_exists() : object functionality ***\n"; 31 echo "\n-- Do not assign a value to \$class1->var3 --\n"; 33 echo "\$key = var1:\n"; 35 echo "\$key = var3:\n"; 37 echo "\$class1:\n"; 40 echo "\n-- Assign a value to \$class2->var3 --\n"; 42 echo "\$key = var3:\n"; 44 echo "\$class2:\n"; 47 echo "Done";
|
H A D | reset_variation3.phpt | 15 echo "*** Testing reset() : usage variations ***\n"; 19 echo "\n-- Initial position of internal pointer --\n"; 28 echo "\n-- Position after calling next() --\n"; 29 echo "\$array1: "; 31 echo "\$array2: "; 34 echo "\n-- Position after calling reset() --\n"; 36 echo "\$array1: "; 38 echo "\$array2: ";
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionClass_getMethod_002.phpt | 13 echo "Check invalid params:\n"; 17 echo $e->getMessage() . "\n"; 22 echo $e->getMessage() . "\n"; 27 echo $e->getMessage() . "\n"; 32 echo $e->getMessage() . "\n"; 37 echo $e->getMessage() . "\n"; 42 echo $e->getMessage() . "\n"; 47 echo $e->getMessage() . "\n"; 52 echo $e->getMessage() . "\n";
|
H A D | ReflectionClass_getProperty_002.phpt | 13 echo "Check invalid params:\n"; 17 echo $e->getMessage() . "\n"; 22 echo $e->getMessage() . "\n"; 27 echo $e->getMessage() . "\n"; 32 echo $e->getMessage() . "\n"; 37 echo $e->getMessage() . "\n"; 42 echo $e->getMessage() . "\n"; 47 echo $e->getMessage() . "\n"; 52 echo $e->getMessage() . "\n";
|
H A D | ReflectionParameter_002.phpt | 22 echo "Parameters from staticMethod:\n\n"; 26 echo "This param is passed by reference\n"; 28 echo "This param is not passed by reference\n"; 30 echo "\n"; 37 echo "Parameters from instanceMethod:\n\n"; 41 echo "This param is passed by reference\n"; 43 echo "This param is not passed by reference\n"; 45 echo "\n"; 48 echo "done\n";
|
H A D | ReflectionParameter_003.phpt | 12 echo "hello from test\n"; 13 echo "third is $thirdParam\n"; 25 echo "parameter names from staticMethod method:\n\n"; 29 echo "this parameter is optional\n"; 31 echo "this parameter is not optional\n"; 35 echo "this parameter has a default value\n"; 37 echo "this parameter has no default value\n"; 47 echo "\n"; 51 echo "\n";
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic9.phpt | 5 echo "*** Testing get_html_translation_table() : basic functionality/HTML5/SJIS ***\n"; 6 echo "*** Only basic entities supported! ***\n"; 8 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n"; 15 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n"; 20 echo "-- with table = HTML_ENTITIES, ENT_NOQUOTES --\n"; 25 echo "-- with table = HTML_SPECIALCHARS, ENT_COMPAT --\n"; 32 echo "-- with table = HTML_SPECIALCHARS, ENT_QUOTES --\n"; 38 echo "-- with table = HTML_SPECIALCHARS, ENT_NOQUOTES --\n"; 45 echo "Done\n";
|
/PHP-5.6/ext/standard/tests/class_object/ |
H A D | class_exists_basic_001.phpt | 11 echo "*** Testing class_exists() : basic functionality ***\n"; 14 echo "In __autoload($className)\n"; 17 echo "Calling class_exists() on non-existent class with autoload explicitly enabled:\n"; 19 echo "\nCalling class_exists() on existing class with autoload explicitly enabled:\n"; 22 echo "\nCalling class_exists() on non-existent class with autoload explicitly enabled:\n"; 24 echo "\nCalling class_exists() on existing class with autoload explicitly disabled:\n"; 27 echo "\nCalling class_exists() on non-existent class with autoload unspecified:\n"; 29 echo "\nCalling class_exists() on existing class with autoload unspecified:\n"; 32 echo "Done";
|
/PHP-5.6/tests/lang/ |
H A D | foreachLoopIteratorAggregate.001.phpt | 11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n"; 90 echo "$indent--> " . __METHOD__ . "\n"; 106 echo "-----( Simple iteration 1: )-----\n"; 108 echo "$k => $v\n"; 110 echo "-----( Simple iteration 2: )-----\n"; 112 echo "$k => $v\n"; 117 echo "\n\n\n-----( Nested iteration: )-----\n"; 120 echo "\nTop level " . $count++ . ": \n"; 121 echo "$k => $v\n"; [all …]
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | fseek_variation3.phpt | 13 echo "*** Testing fseek() : variation - beyond file boundaries ***\n"; 22 echo "--- fseek beyond start of file ---\n"; 24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n"; 26 echo "after seek back 1: ".bin2hex(fread($h,1))."\n"; 28 echo "after seek back 20: ".bin2hex(fread($h,1))."\n"; 30 echo "--- fseek beyond end of file ---\n"; 35 echo bin2hex($data)."\n"; 40 echo "Done";
|
/PHP-5.6/ext/sockets/tests/ |
H A D | socket_getopt.phpt | 17 echo "Setting IP_MULTICAST_TTL\n"; 22 echo "\n"; 24 echo "Setting IP_MULTICAST_LOOP\n"; 33 echo "\n"; 35 echo "Setting IP_MULTICAST_IF\n"; 36 echo "interface 0:\n"; 41 echo "interface 1:\n"; 46 echo "\n";
|
H A D | mcast_ipv4_send.phpt | 18 echo "Setting IP_MULTICAST_TTL\n"; 23 echo "\n"; 25 echo "Setting IP_MULTICAST_LOOP\n"; 34 echo "\n"; 36 echo "Setting IP_MULTICAST_IF\n"; 37 echo "interface 0:\n"; 42 echo "interface 1:\n"; 47 echo "\n";
|
/PHP-5.6/ext/gd/tests/ |
H A D | createfromstring.phpt | 19 echo 'createfromstring truecolor png: '; 21 echo 'failed'; 23 echo 'ok'; 25 echo "\n"; 40 echo'createfromstring palette png: '; 45 echo 'failed'; 47 echo 'ok'; 49 echo "\n";
|
/PHP-5.6/ext/intl/tests/ |
H A D | dateformat_formatObject_calendar_variant3.phpt | 15 echo IntlDateFormatter::formatObject($cal), "\n"; 16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n"; 17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n"; 18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)… 19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n"; 22 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n"; 26 echo IntlDateFormatter::formatObject($cal), "\n"; 27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
|
H A D | dateformat_formatObject_calendar_variant4.phpt | 15 echo IntlDateFormatter::formatObject($cal), "\n"; 16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n"; 17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n"; 18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)… 19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n"; 22 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n"; 26 echo IntlDateFormatter::formatObject($cal), "\n"; 27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
|
/PHP-5.6/Zend/tests/ |
H A D | bug44660.phpt | 8 echo "--> read access: "; 9 echo $a->p; 11 echo "\n--> direct assignment: "; 14 echo "\n--> increment: "; 17 echo "\n--> reference assignment:"; 20 echo "\n--> reference assignment:"; 23 echo "\n--> indexed assignment:"; 26 echo "\n--> Confirm assignments have had no impact:\n";
|
/PHP-5.6/tests/ |
H A D | quicktester.inc | 28 echo "WARNING: trailing ';' found in test ".($n+1)."\n"; 43 echo "WARNING: unknown operator in '$test' (1)\n"; 62 echo "WARNING: unknown operator in '$test' (2)\n"; 68 echo "\nAssert failed:\n"; 69 echo "$test\n"; 70 echo "Left: ";var_dump($left ); 71 echo "Right: ";var_dump($right); 74 if ($success) echo "OK";
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | stream_get_contents_001.phpt | 10 echo stream_get_contents($tmp, 2, 5), "--\n"; 11 echo stream_get_contents($tmp, 2), "--\n"; 12 echo stream_get_contents($tmp, 2, 3), "--\n"; 13 echo stream_get_contents($tmp, 2, -1), "--\n";
|
/PHP-5.6/ext/spl/tests/ |
H A D | arrayObject_magicMethods3.phpt | 34 echo "\n--> Write existent, non-existent and dynamic:\n"; 38 echo " Original wrapped object:\n"; 40 echo " Wrapping ArrayObject:\n"; 43 echo "\n--> Read existent, non-existent and dynamic:\n"; 47 echo " Original wrapped object:\n"; 49 echo " Wrapping ArrayObject:\n"; 52 echo "\n--> isset existent, non-existent and dynamic:\n"; 56 echo " Original wrapped object:\n"; 58 echo " Wrapping ArrayObject:\n"; 65 echo " Original wrapped object:\n"; [all …]
|
/PHP-5.6/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_autocommit_2.phpt | 21 echo "Test 1 Check beginTransaction insertion\n"; 30 echo "Caught unexpected exception at line " . __LINE__ . "\n"; 31 echo $e->getMessage() . "\n"; 44 echo "Caught expected exception at line " . __LINE__ . "\n"; 45 echo $e->getMessage() . "\n"; 60 echo $e->getMessage() . "\n"; 75 echo $e->getMessage() . "\n"; 78 echo "Test 5 Handle transactions ourselves\n"; 94 echo "Query Results are:\n"; 98 echo $r[0] . "\n"; [all …]
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | copy_to.phpt | 21 echo "Preparing test table for CopyTo tests\n"; 36 echo "Testing pgsqlCopyToArray() with default parameters\n"; 43 echo "Testing pgsqlCopyToArray() with error\n"; 47 echo "Exception: {$e->getMessage()}\n"; 54 echo file_get_contents($filename); 57 echo file_get_contents($filename); 60 echo file_get_contents($filename); 62 echo "Testing pgsqlCopyToFile() with error\n"; 66 echo "Exception: {$e->getMessage()}\n"; 69 echo "Testing pgsqlCopyToFile() to unwritable file\n"; [all …]
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba010.phpt | 11 echo "database handler: $handler\n"; 25 echo $i; 26 echo dba_exists(array("","name0"), $db_file) ? "Y" : "N"; 28 echo dba_exists("[key$i]name$i", $db_file) ? "Y" : "N"; 30 echo dba_exists(array("key5","name5"), $db_file) ? "Y" : "N"; 31 echo "\n"; 34 echo "Error creating database\n";
|