helly Wed Dec 31 12:33:12 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/cli/tests 005.phpt
Log:
- MFH Fix test
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/005.phpt?r1=1.1.2.5.2.1&r2=1.1.2.5.2.2&diff_format=u
Index: php-src/sapi/cli/tests/005.phpt
diff -u php-src/sapi/cli/tests/005.phpt:1.1.2.5.2.1
php-src/sapi/cli/tests/005.phpt:1.1.2.5.2.2
--- php-src/sapi/cli/tests/005.phpt:1.1.2.5.2.1 Sun Jul 13 09:42:25 2008
+++ php-src/sapi/cli/tests/005.phpt Wed Dec 31 12:33:12 2008
@@ -12,16 +12,16 @@
$php = getenv('TEST_PHP_EXECUTABLE');
-var_dump(`$php -n --rc unknown`);
-var_dump(`$php -n --rc stdclass`);
-var_dump(`$php -n --rc exception`);
+var_dump(`"$php" -n --rc unknown`);
+var_dump(`"$php" -n --rc stdclass`);
+var_dump(`"$php" -n --rc exception`);
echo "Done\n";
?>
--EXPECTF--
string(40) "Exception: Class unknown does not exist
"
-string(178) "Class [ <internal> class stdClass ] {
+string(183) "Class [ <internal:Core> class stdClass ] {
- Constants [0] {
}
@@ -40,7 +40,7 @@
}
"
-string(1300) "Class [ <internal> class Exception ] {
+string(1355) "Class [ <internal:Core> class Exception ] {
- Constants [0] {
}
@@ -62,10 +62,10 @@
}
- Methods [10] {
- Method [ <internal> final private method __clone ] {
+ Method [ <internal:Core> final private method __clone ] {
}
- Method [ <internal, ctor> public method __construct ] {
+ Method [ <internal:Core, ctor> public method __construct ] {
- Parameters [3] {
Parameter #0 [ <optional> $message ]
@@ -74,28 +74,28 @@
}
}
- Method [ <internal> final public method getMessage ] {
+ Method [ <internal:Core> final public method getMessage ] {
}
- Method [ <internal> final public method getCode ] {
+ Method [ <internal:Core> final public method getCode ] {
}
- Method [ <internal> final public method getFile ] {
+ Method [ <internal:Core> final public method getFile ] {
}
- Method [ <internal> final public method getLine ] {
+ Method [ <internal:Core> final public method getLine ] {
}
- Method [ <internal> final public method getTrace ] {
+ Method [ <internal:Core> final public method getTrace ] {
}
- Method [ <internal> final public method getPrevious ] {
+ Method [ <internal:Core> final public method getPrevious ] {
}
- Method [ <internal> final public method getTraceAsString ] {
+ Method [ <internal:Core> final public method getTraceAsString ] {
}
- Method [ <internal> public method __toString ] {
+ Method [ <internal:Core> public method __toString ] {
}
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php