]> granicus.if.org Git - php/commitdiff
- MFH Fix test
authorMarcus Boerger <helly@php.net>
Wed, 31 Dec 2008 12:33:12 +0000 (12:33 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 31 Dec 2008 12:33:12 +0000 (12:33 +0000)
sapi/cli/tests/005.phpt

index 86d4276e7b5e3678a6d738397c069dac7a00de8b..914e33c7feb23d0e56e3d3907bc5d6e5fdfca4d2 100644 (file)
@@ -12,16 +12,16 @@ if (!extension_loaded("reflection")) {
 
 $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(178) "Class [ <internal> class stdClass ] {
 }
 
 "
-string(1300) "Class [ <internal> class Exception ] {
+string(1355) "Class [ <internal:Core> class Exception ] {
 
   - Constants [0] {
   }
@@ -62,10 +62,10 @@ string(1300) "Class [ <internal> class Exception ] {
   }
 
   - 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 @@ string(1300) "Class [ <internal> class Exception ] {
       }
     }
 
-    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 ] {
     }
   }
 }