/PHP-5.6/Zend/tests/ |
H A D | ns_037.phpt | 11 echo "class ok\n"; 14 echo "method ok\n"; 23 echo X::C; 24 echo Y\X::C; 25 echo \X\X::C; 26 echo X::$var; 27 echo Y\X::$var; 28 echo \X\X::$var;
|
H A D | bug31098.phpt | 19 echo isset($simpleString->wrong)?"bug\n":"ok\n"; 20 echo isset($simpleString["wrong"])?"bug\n":"ok\n"; 21 echo isset($simpleString[-1])?"bug\n":"ok\n"; 22 echo isset($simpleString[0])?"ok\n":"bug\n"; 23 echo isset($simpleString["0"])?"ok\n":"bug\n"; 24 echo isset($simpleString["16"])?"ok\n":"bug\n"; 25 echo isset($simpleString["17"])?"bug\n":"ok\n"; 26 echo $simpleString->wrong === null?"ok\n":"bug\n"; 27 echo $simpleString["wrong"] === "B"?"ok\n":"bug\n"; 28 echo $simpleString["0"] === "B"?"ok\n":"bug\n"; [all …]
|
/PHP-5.6/ext/phar/tests/ |
H A D | stat.phpt | 19 echo "stat\n"; 21 echo "lstat\n"; 23 echo "fileperms\n"; 25 echo "fileinode\n"; 27 echo "filesize\n"; 29 echo "fileowner\n"; 31 echo "filegroup\n"; 39 echo "filetype\n"; 51 echo "is_dir\n"; 53 echo "is_file\n"; [all …]
|
H A D | 022.phpt | 24 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1)); 26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR)); 28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR)); 30 echo 'fseek($fp, -1, SEEK_END)';var_dump(fseek($fp, -1, SEEK_END)); 32 echo 'fseek($fp, -8, SEEK_END)';var_dump(fseek($fp, -8, SEEK_END)); 36 echo 'fseek($fp, 0, SEEK_END)';var_dump(fseek($fp, 0, SEEK_END)); 38 echo 'fseek($fp, 1, SEEK_END)';var_dump(fseek($fp, 1, SEEK_END)); 42 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6)); 44 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8)); 46 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1)); [all …]
|
/PHP-5.6/ext/hash/tests/ |
H A D | hash_pbkdf2_basic.phpt | 14 echo "*** Testing hash_pbkdf2() : basic functionality ***\n"; 16 echo "sha1: " . hash_pbkdf2('sha1', 'password', 'salt', 1, 20)."\n"; 17 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n"; 18 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n"; 19 echo "sha1(rounds): " . hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsa… 20 echo "sha1(rounds)(raw): " . bin2hex(hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltS… 21 echo "sha256: " . hash_pbkdf2('sha256', 'password', 'salt', 1, 20)."\n"; 22 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n"; 23 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n"; 24 echo "sha256(rounds): " . hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSA… [all …]
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | simpletest.phpt | 18 echo "echo: ".$s1.$s2."\n"; 21 echo sprintf("sprintf: %s%s\n",$s1, $s2); 25 echo "echo: ".$s3; 29 echo: �ޥ���Х��ȴؿ����Ȥ��ޤ�������ʸ����Ϣ�뤵��Ƥ���Ϥ��� 33 echo: �ޥ���Х��ȴؿ����Ȥ��ޤ�������ʸ����Ϣ�뤵��Ƥ���Ϥ���
|
H A D | bug54494.phpt | 17 echo "$mode:\n"; 21 echo "Length: ", $length, "\n"; 26 echo $t[1]; 28 echo "\n"; 33 echo "$mode:\n"; 37 echo "Length: ", $length, "\n"; 42 echo $t[1]; 44 echo "\n";
|
/PHP-5.6/ext/spl/tests/ |
H A D | dllist_002.phpt | 14 echo "$k=>$v\n"; 17 echo "->$k2=>$v2\n"; 21 echo "# deleted\n"; 24 echo "$k=>$v\n"; 28 echo "# while popping\n"; 31 echo "$k=>$v\n"; 32 echo "popped ".$dll2->pop()."\n";
|
H A D | dllist_004.phpt | 10 echo "Exception: ".$e->getMessage()."\n"; 15 echo "Exception: ".$e->getMessage()."\n"; 21 echo $stack->pop()."\n"; 26 echo $stack->top()."\n"; 30 echo "[$elem]\n"; 36 echo count($stack)."\n"; 37 echo $stack->count()."\n"; 45 echo count($stack)."\n";
|
H A D | dllist_005.phpt | 10 echo "Exception: ".$e->getMessage()."\n"; 15 echo "Exception: ".$e->getMessage()."\n"; 21 echo $queue->dequeue()."\n"; 26 echo $queue->top()."\n"; 30 echo "[$elem]\n"; 36 echo count($queue)."\n"; 37 echo $queue->count()."\n"; 45 echo count($queue)."\n";
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | 008.phpt | 10 echo '$a='.var_export($a,TRUE).";\n"; 11 echo '$b='.var_export($b,TRUE).";\n"; 12 echo '$c='.var_export($c,TRUE).";\n"; 14 echo 'array_intersect($a,$b,$c);'."\n"; 20 echo 'array_intersect($a,$b);'."\n"; 67 echo '$a='.var_export($a,TRUE).";\n"; 68 echo '$b='.var_export($b,TRUE).";\n"; 69 echo '$c='.var_export($c,TRUE).";\n"; 70 echo "\n\nResults:\n\n"; 72 echo 'array_intersect($a,$b,$c);'."\n"; [all …]
|
/PHP-5.6/ext/date/tests/ |
H A D | bug32270.phpt | 8 echo date("m/d/Y H:i:s T", -2145888000)."\n"; 10 echo strtotime("Jan 1 1902")."\n"; 12 echo date("m/d/Y H:i:s T", -631123200)."\n"; 14 echo strtotime("Jan 1 1950")."\n"; 16 echo date("m/d/Y H:i:s T", 946713600)."\n"; 18 echo strtotime("Jan 1 2000")."\n";
|
H A D | bug34087.phpt | 6 echo "Y/m/d: ", strtotime("2005/8/12"), "\n"; 7 echo "Y-m-d: ", strtotime("2005-8-12"), "\n"; 9 echo date(DATE_ISO8601, strtotime("2005/1/2")), "\n"; 10 echo date(DATE_ISO8601, strtotime("2005/01/02")), "\n"; 11 echo date(DATE_ISO8601, strtotime("2005/01/2")), "\n"; 12 echo date(DATE_ISO8601, strtotime("2005/1/02")), "\n";
|
H A D | DateTime_data-spring-type2-type3.inc | 21 echo "test_time_spring_type2_prev_type3_prev: "; 26 echo "test_time_spring_type2_prev_type3_st: "; 31 echo "test_time_spring_type2_prev_type3_dt: "; 36 echo "test_time_spring_type2_prev_type3_post: "; 41 echo "test_time_spring_type2_st_type3_prev: "; 46 echo "test_time_spring_type2_st_type3_st: "; 51 echo "test_time_spring_type2_st_type3_dt: "; 56 echo "test_time_spring_type2_st_type3_post: "; 61 echo "test_time_spring_type2_dt_type3_prev: "; 66 echo "test_time_spring_type2_dt_type3_st: "; [all …]
|
H A D | DateTime_data-spring-type3-type2.inc | 21 echo "test_time_spring_type3_prev_type2_prev: "; 26 echo "test_time_spring_type3_prev_type2_st: "; 31 echo "test_time_spring_type3_prev_type2_dt: "; 36 echo "test_time_spring_type3_prev_type2_post: "; 41 echo "test_time_spring_type3_st_type2_prev: "; 46 echo "test_time_spring_type3_st_type2_st: "; 51 echo "test_time_spring_type3_st_type2_dt: "; 56 echo "test_time_spring_type3_st_type2_post: "; 61 echo "test_time_spring_type3_dt_type2_prev: "; 66 echo "test_time_spring_type3_dt_type2_st: "; [all …]
|
H A D | DateTime_data-spring-type3-type3.inc | 21 echo "test_time_spring_type3_prev_type3_prev: "; 26 echo "test_time_spring_type3_prev_type3_st: "; 31 echo "test_time_spring_type3_prev_type3_dt: "; 36 echo "test_time_spring_type3_prev_type3_post: "; 41 echo "test_time_spring_type3_st_type3_prev: "; 46 echo "test_time_spring_type3_st_type3_st: "; 51 echo "test_time_spring_type3_st_type3_dt: "; 56 echo "test_time_spring_type3_st_type3_post: "; 61 echo "test_time_spring_type3_dt_type3_prev: "; 66 echo "test_time_spring_type3_dt_type3_st: "; [all …]
|
H A D | DateTime_data-fall-type3-type2.inc | 23 echo "test_time_fall_type3_prev_type2_prev: "; 28 echo "test_time_fall_type3_prev_type2_dt: "; 45 echo "test_time_fall_type3_prev_type2_st: "; 50 echo "test_time_fall_type3_prev_type2_post: "; 55 echo "test_time_fall_type3_dt_type2_prev: "; 60 echo "test_time_fall_type3_dt_type2_dt: "; 65 echo "test_time_fall_type3_dt_type2_redodt: "; 75 echo "test_time_fall_type3_dt_type2_st: "; 80 echo "test_time_fall_type3_dt_type2_post: "; 162 echo "test_time_fall_type3_st_type2_dt: "; [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | implode.phpt | 10 echo implode(array())."\n"; 11 echo implode('nothing', array())."\n"; 12 echo implode(array('foo', 'bar', 'baz'))."\n"; 13 echo implode(':', array('foo', 'bar', 'baz'))."\n"; 14 echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n"; 15 echo $php_errormsg."\n";
|
/PHP-5.6/ext/dom/tests/ |
H A D | domchardata.phpt | 12 echo "Error while parsing the document\n"; 25 echo "Comment Length: ".$comment->length."\n"; 28 echo "New Comment Length: ".$comment->length."\n"; 29 echo "New Comment Data: ".$comment->data."\n"; 35 echo "Substring: ".$cdata->substringData(7, 4)."\n"; 37 echo "New Substring: ".$cdata->substringData(7, 4)."\n"; 41 echo "Comment Value: ".$comment->data."\n"; 43 echo "New Comment Value: ".$comment->data."\n"; 51 echo "Updated Comment Value: ".$comment->data."\n"; 56 echo "Whole Text: ".$text->wholeText."\n"; [all …]
|
/PHP-5.6/ext/gd/tests/ |
H A D | imagefilter.phpt | 29 echo "$filt success\n"; 32 echo "$filt failed\n"; 40 echo "IMG_FILTER_SMOOTH success\n"; 43 echo "IMG_FILTER_SMOOTH failed\n"; 50 echo "IMG_FILTER_COLORIZE success\n"; 53 echo "IMG_FILTER_COLORIZE failed\n"; 60 echo "IMG_FILTER_CONTRAST success\n"; 63 echo "IMG_FILTER_CONTRAST failed\n"; 73 echo "IMG_FILTER_BRIGHTNESS failed\n"; 80 echo "IMG_FILTER_PIXELATE success\n"; [all …]
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.mak | 111 @echo Build complete. 114 @echo Building Dependencies for $(<F) 118 @echo Building Dependencies for $(<F) 122 @echo Compiling $?... 126 @echo Compiling $?... 139 @echo AutoUnload >> $(basename $@).def 141 @echo Debug >> $(basename $@).def 154 @echo Linking $@... 167 @echo Deleting all dependency files... 172 @echo Deleting all object files... [all …]
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_v.phpt | 10 echo "*** Testing debug_zval_dump() on functions ***\n"; 41 echo "\n-- Value of \$first_var: --\n"; 47 echo "\n-- Value of \$ref_first_var --\n"; 49 echo "\n-- Value of \$first_var --\n"; 56 echo "\n-- Value of \$ref_first_var --\n"; 58 echo "\n-- Value of \$first_var --\n"; 76 echo "\n-- Value of \$var_2: --\n"; 78 echo "\n-- Value of \$var_3: --\n"; 85 echo "\n-- Value of \$var_2: --\n"; 114 echo "-- Iteration $counter --\n"; [all …]
|
/PHP-5.6/tests/classes/ |
H A D | iterators_004.phpt | 8 echo "1st try\n"; 15 echo "object:$w\n"; 18 echo "2nd try\n"; 26 echo __METHOD__ . "\n"; 30 echo __METHOD__ . "\n"; 34 echo __METHOD__ . "\n"; 38 echo __METHOD__ . "\n"; 51 echo "object:$v=>$w\n";
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug41004.phpt | 24 $classmap = array('EchoBean'=>'EchoBean','echo'=>'EchoRequest','echoResponse'=>'EchoResponse'); 26 $echo=new EchoRequest(); 30 $echo->in=$in; 31 $client->echo($echo); 32 echo $client->__getLastRequest(); 36 …lns:ns1="urn:Formation"><SOAP-ENV:Body><ns1:echo><in><mandatoryElement>REV</mandatoryElement></in>…
|
/PHP-5.6/tests/lang/ |
H A D | 006.phpt | 9 echo "bad"; 11 echo "bad"; 14 echo "bad"; 16 echo "good"; 18 echo "bad";
|