]> granicus.if.org Git - php/commitdiff
- Removed UEXPECT(F)
authorFelipe Pena <felipe@php.net>
Tue, 27 May 2008 13:16:27 +0000 (13:16 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 27 May 2008 13:16:27 +0000 (13:16 +0000)
138 files changed:
ext/pdo/tests/bug_36428.phpt
ext/pdo/tests/pdo_001.phpt
ext/pdo/tests/pdo_002.phpt
ext/pdo/tests/pdo_003.phpt
ext/pdo/tests/pdo_004.phpt
ext/pdo/tests/pdo_005.phpt
ext/pdo/tests/pdo_006.phpt
ext/pdo/tests/pdo_007.phpt
ext/pdo/tests/pdo_008.phpt
ext/pdo/tests/pdo_009.phpt
ext/pdo/tests/pdo_010.phpt
ext/pdo/tests/pdo_011.phpt
ext/pdo/tests/pdo_012.phpt
ext/pdo/tests/pdo_013.phpt
ext/pdo/tests/pdo_014.phpt
ext/pdo/tests/pdo_015.phpt
ext/pdo/tests/pdo_016.phpt
ext/pdo/tests/pdo_016a.phpt
ext/pdo/tests/pdo_018.phpt
ext/pdo/tests/pdo_019.phpt
ext/pdo/tests/pdo_023.phpt
ext/pdo/tests/pdo_025.phpt
ext/pdo/tests/pdo_026.phpt
ext/pdo/tests/pdo_028.phpt
ext/pdo/tests/pdo_029.phpt
ext/pdo/tests/pdo_030.phpt
ext/pdo/tests/pdo_032.phpt
ext/pdo_mysql/tests/bug_33689.phpt
ext/pdo_oci/tests/pdo_oci_attr_case.phpt
ext/pdo_oci/tests/pdo_oci_attr_client.phpt
ext/pdo_oci/tests/pdo_oci_attr_drivername.phpt
ext/pdo_oci/tests/pdo_oci_attr_nulls_1.phpt
ext/pdo_oci/tests/pdo_oci_attr_server.phpt
ext/pdo_oci/tests/pdo_oci_quote1.phpt
ext/pdo_oci/tests/pecl_bug_6364.phpt
ext/phar/tests/zip/refcount1.phpt
ext/reflection/tests/001.phpt
ext/reflection/tests/002.phpt
ext/reflection/tests/005.phpt
ext/reflection/tests/006.phpt
ext/reflection/tests/007.phpt
ext/reflection/tests/009.phpt
ext/reflection/tests/015.phpt
ext/reflection/tests/016.phpt
ext/reflection/tests/017.phpt
ext/reflection/tests/018.phpt
ext/reflection/tests/019.phpt
ext/reflection/tests/020.phpt
ext/reflection/tests/023.phpt
ext/reflection/tests/025.phpt
ext/reflection/tests/ReflectionFunction_getExtension.phpt
ext/reflection/tests/ReflectionFunction_getExtensionName.phpt
ext/reflection/tests/ReflectionMethod_basic2.phpt
ext/reflection/tests/ReflectionMethod_basic3.phpt
ext/reflection/tests/ReflectionMethod_basic4.phpt
ext/reflection/tests/ReflectionMethod_getDeclaringClass_basic.phpt
ext/reflection/tests/ReflectionMethod_getDocComment_basic.phpt
ext/reflection/tests/ReflectionMethod_getStaticVariables_basic.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_basic.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt
ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
ext/reflection/tests/bug26695.phpt
ext/reflection/tests/bug29986.phpt
ext/reflection/tests/bug30209.phpt
ext/reflection/tests/bug30856.phpt
ext/reflection/tests/bug32981.phpt
ext/reflection/tests/bug38132.phpt
ext/reflection/tests/bug38217.phpt
ext/reflection/tests/bug38653.phpt
ext/reflection/tests/bug39001.phpt
ext/reflection/tests/bug39067.phpt
ext/reflection/tests/bug39884.phpt
ext/reflection/tests/bug40431.phpt
ext/reflection/tests/bug40794.phpt
ext/reflection/tests/bug41884.phpt
ext/reflection/tests/bug42976.phpt
ext/reflection/tests/bug43926.phpt
ext/reflection/tests/parameters_001.phpt
ext/reflection/tests/parameters_002.phpt
ext/reflection/tests/reflectionClass_FileInfo_basic.phpt
ext/reflection/tests/reflectionClass_FileInfo_error.phpt
ext/reflection/tests/reflectionClass_constructor_001.phpt
ext/reflection/tests/reflectionClass_constructor_002.phpt
ext/reflection/tests/reflectionClass_getConstant_basic.phpt
ext/reflection/tests/reflectionClass_getConstant_error.phpt
ext/reflection/tests/reflectionClass_getConstants_basic.phpt
ext/reflection/tests/reflectionClass_getConstants_error.phpt
ext/reflection/tests/reflectionClass_getExtensionName_basic.phpt
ext/reflection/tests/reflectionClass_getExtension_basic.phpt
ext/reflection/tests/reflectionClass_getInterfaceNames_basic.phpt
ext/reflection/tests/reflectionClass_getName_basic.phpt
ext/reflection/tests/reflectionClass_getName_error.phpt
ext/reflection/tests/reflectionClass_getName_error1.phpt
ext/reflection/tests/reflectionClass_getParentClass.phpt
ext/reflection/tests/reflectionClass_isInstance_basic.phpt
ext/reflection/tests/reflectionClass_isInstance_error.phpt
ext/reflection/tests/reflectionClass_isInstantiable_basic.phpt
ext/reflection/tests/reflectionClass_isInstantiable_error.phpt
ext/reflection/tests/reflectionClass_isInstantiable_variation.phpt
ext/reflection/tests/reflectionClass_isInternal_basic.phpt
ext/reflection/tests/reflectionClass_isInternal_error.phpt
ext/reflection/tests/reflectionClass_isSubclassOf_basic.phpt
ext/reflection/tests/reflectionClass_isSubclassOf_error.phpt
ext/reflection/tests/reflectionClass_isSubclassOf_error1.phpt
ext/reflection/tests/reflectionClass_isUserDefined_basic.phpt
ext/reflection/tests/reflectionClass_isUserDefined_error.phpt
ext/reflection/tests/reflectionObject_FileInfo_basic.phpt
ext/reflection/tests/reflectionObject_FileInfo_error.phpt
ext/reflection/tests/reflectionObject_constructor_basic.phpt
ext/reflection/tests/reflectionObject_constructor_error.phpt
ext/reflection/tests/reflectionObject_getConstant_basic.phpt
ext/reflection/tests/reflectionObject_getConstant_error.phpt
ext/reflection/tests/reflectionObject_getConstants_basic.phpt
ext/reflection/tests/reflectionObject_getConstants_error.phpt
ext/reflection/tests/reflectionObject_getConstructor_basic.phpt
ext/reflection/tests/reflectionObject_getConstructor_error.phpt
ext/reflection/tests/reflectionObject_getName_basic.phpt
ext/reflection/tests/reflectionObject_getName_error.phpt
ext/reflection/tests/reflectionObject_getName_error1.phpt
ext/reflection/tests/reflectionObject_isInstance_basic.phpt
ext/reflection/tests/reflectionObject_isInstance_error.phpt
ext/reflection/tests/reflectionObject_isInstantiable_basic.phpt
ext/reflection/tests/reflectionObject_isInstantiable_error.phpt
ext/reflection/tests/reflectionObject_isInstantiable_variation.phpt
ext/reflection/tests/reflectionObject_isInternal_basic.phpt
ext/reflection/tests/reflectionObject_isInternal_error.phpt
ext/reflection/tests/reflectionObject_isSubclassOf_basic.phpt
ext/reflection/tests/reflectionObject_isSubclassOf_error.phpt
ext/reflection/tests/reflectionObject_isUserDefined_basic.phpt
ext/reflection/tests/reflectionObject_isUserDefined_error.phpt
ext/reflection/tests/reflectionProperty_basic1.phpt
ext/reflection/tests/reflectionProperty_basic2.phpt
ext/reflection/tests/reflectionProperty_error.phpt
ext/reflection/tests/reflectionProperty_getDeclaringClass_variation1.phpt
ext/reflection/tests/reflectionProperty_getDocComment_basic.phpt
ext/reflection/tests/reflectionProperty_getValue_error.phpt
ext/reflection/tests/reflectionProperty_setValue_error.phpt

index b414c6c5dd7dfeabbdc62ae9fcb21783a81df991..2c8521b938655c49917f77075321a5d26682b027 100755 (executable)
@@ -23,15 +23,6 @@ var_dump($res->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_PROPS_LATE, 'SimpleXMLElemen
 ?>
 ===DONE===
 --EXPECTF--
-array(1) {
-  [0]=>
-  object(SimpleXMLElement)#%d (1) {
-    ["a"]=>
-    string(3) "xyz"
-  }
-}
-===DONE===
---UEXPECTF--
 array(1) {
   [0]=>
   object(SimpleXMLElement)#3 (1) {
index cc6a90f7911a9be97f01ed8bdea4293fae0aa857..8ab643f1840ab8dac94306af245af7f6dc2eeca9 100644 (file)
@@ -25,30 +25,6 @@ $stmt->execute();
 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  array(2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(3) {
   [0]=>
   array(2) {
index 60bfffd74381d72baef77c6196d3d893031fa64e..1095f8d4589c7256c07bd321937600128e526efc 100644 (file)
@@ -25,30 +25,6 @@ $stmt->execute();
 var_dump($stmt->fetchAll(PDO::FETCH_NUM));
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  array(2) {
-    [0]=>
-    string(1) "1"
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(2) {
-    [0]=>
-    string(1) "2"
-    [1]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(2) {
-    [0]=>
-    string(1) "3"
-    [1]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(3) {
   [0]=>
   array(2) {
index 617ebbc18b38c6e9ca1bdac65e3697a8bd57a5f3..d1f9be391b013144c9c1f9a98b7a404db6c80e03 100644 (file)
@@ -25,42 +25,6 @@ $stmt->execute();
 var_dump($stmt->fetchAll(PDO::FETCH_BOTH));
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  array(4) {
-    ["id"]=>
-    string(1) "1"
-    [0]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(4) {
-    ["id"]=>
-    string(1) "2"
-    [0]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-    [1]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(4) {
-    ["id"]=>
-    string(1) "3"
-    [0]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-    [1]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(3) {
   [0]=>
   array(4) {
index 558eef4a5ad0616152f39c29cefdc7444df622ce..df22cc2d70461a4ffffb4137e0a4251685396688 100644 (file)
@@ -25,30 +25,6 @@ $stmt->execute();
 var_dump($stmt->fetchAll(PDO::FETCH_OBJ));
 ?>
 --EXPECTF--
-array(3) {
-  [0]=>
-  object(stdClass)#%d (2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  object(stdClass)#%d (2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  object(stdClass)#%d (2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-}
---UEXPECTF--
 array(3) {
   [0]=>
   object(stdClass)#%d (2) {
index 3d20159bacb57ca3f75fa75bede52e51dd76b43b..06421a1ccbc0c0a0e4cc93a46685539be59b228b 100644 (file)
@@ -50,109 +50,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_CLASS, 'TestDerived', array(0)));
 
 ?>
 --EXPECTF--
-array(3) {
-  [0]=>
-  object(stdClass)#%d (3) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-    ["val2"]=>
-    string(2) "AA"
-  }
-  [1]=>
-  object(stdClass)#%d (3) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-    ["val2"]=>
-    string(2) "BB"
-  }
-  [2]=>
-  object(stdClass)#%d (3) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-    ["val2"]=>
-    string(2) "CC"
-  }
-}
-array(3) {
-  [0]=>
-  object(TestBase)#%d (3) {
-    ["id"]=>
-    string(1) "1"
-    ["val":protected]=>
-    string(1) "A"
-    ["val2":"TestBase":private]=>
-    string(2) "AA"
-  }
-  [1]=>
-  object(TestBase)#%d (3) {
-    ["id"]=>
-    string(1) "2"
-    ["val":protected]=>
-    string(1) "B"
-    ["val2":"TestBase":private]=>
-    string(2) "BB"
-  }
-  [2]=>
-  object(TestBase)#%d (3) {
-    ["id"]=>
-    string(1) "3"
-    ["val":protected]=>
-    string(1) "C"
-    ["val2":"TestBase":private]=>
-    string(2) "CC"
-  }
-}
-TestDerived::__construct(0,1)
-TestDerived::__construct(1,2)
-TestDerived::__construct(2,3)
-array(3) {
-  [0]=>
-  object(TestDerived)#%d (5) {
-    ["row":protected]=>
-    int(0)
-    ["id"]=>
-    string(1) "1"
-    ["val":protected]=>
-    string(1) "A"
-    ["val2":"TestBase":private]=>
-    NULL
-    ["val2"]=>
-    string(2) "AA"
-  }
-  [1]=>
-  object(TestDerived)#%d (5) {
-    ["row":protected]=>
-    int(1)
-    ["id"]=>
-    string(1) "2"
-    ["val":protected]=>
-    string(1) "B"
-    ["val2":"TestBase":private]=>
-    NULL
-    ["val2"]=>
-    string(2) "BB"
-  }
-  [2]=>
-  object(TestDerived)#%d (5) {
-    ["row":protected]=>
-    int(2)
-    ["id"]=>
-    string(1) "3"
-    ["val":protected]=>
-    string(1) "C"
-    ["val2":"TestBase":private]=>
-    NULL
-    ["val2"]=>
-    string(2) "CC"
-  }
-}
---UEXPECTF--
 array(3) {
   [0]=>
   object(stdClass)#%d (3) {
index 4636e951c19c5ead3490c99d7f50ba99976cace5..cd300e22952db88f6e9a3c4117996a79204d013b 100644 (file)
@@ -29,53 +29,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_ASSOC|PDO::FETCH_GROUP));
 
 ?>
 --EXPECT--
-array(2) {
-  ["A"]=>
-  array(2) {
-    [0]=>
-    array(1) {
-      [0]=>
-      string(1) "1"
-    }
-    [1]=>
-    array(1) {
-      [0]=>
-      string(1) "2"
-    }
-  }
-  ["C"]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      string(1) "3"
-    }
-  }
-}
-array(2) {
-  ["A"]=>
-  array(2) {
-    [0]=>
-    array(1) {
-      ["id"]=>
-      string(1) "1"
-    }
-    [1]=>
-    array(1) {
-      ["id"]=>
-      string(1) "2"
-    }
-  }
-  ["C"]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      ["id"]=>
-      string(1) "3"
-    }
-  }
-}
---UEXPECT--
 array(2) {
   [u"A"]=>
   array(2) {
index c69098e9b28ebc8bb71401b95dbc5406679c39b5..ff5ef17dba7d52c2caec58cbced080b067507a0e 100644 (file)
@@ -29,41 +29,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_ASSOC|PDO::FETCH_UNIQUE));
 
 ?>
 --EXPECT--
-array(3) {
-  ["A"]=>
-  array(1) {
-    [0]=>
-    string(1) "A"
-  }
-  ["B"]=>
-  array(1) {
-    [0]=>
-    string(1) "A"
-  }
-  ["C"]=>
-  array(1) {
-    [0]=>
-    string(1) "C"
-  }
-}
-array(3) {
-  ["A"]=>
-  array(1) {
-    ["val"]=>
-    string(1) "A"
-  }
-  ["B"]=>
-  array(1) {
-    ["val"]=>
-    string(1) "A"
-  }
-  ["C"]=>
-  array(1) {
-    ["val"]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(3) {
   [u"A"]=>
   array(1) {
index f83c7d89a31a6b96a959f3a23479e6666788fde0..e2f9c4e1cd236b7cd5e2cf9719a4671c860344c6 100644 (file)
@@ -26,19 +26,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_NUM|PDO::FETCH_UNIQUE));
 
 ?>
 --EXPECT--
-array(2) {
-  ["A"]=>
-  array(1) {
-    [0]=>
-    string(1) "B"
-  }
-  ["C"]=>
-  array(1) {
-    [0]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(2) {
   [u"A"]=>
   array(1) {
index cc27999d8fc48f554d255f586a0ded21c4f2cd27..592a920892c383872127dadf80030f979e81416f 100644 (file)
@@ -58,78 +58,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_CLASSTYPE, 'Test3'));
 
 ?>
 --EXPECTF--
-array(4) {
-  [0]=>
-  array(3) {
-    [0]=>
-    string(8) "stdClass"
-    [1]=>
-    string(1) "1"
-    [2]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(3) {
-    [0]=>
-    string(5) "Test1"
-    [1]=>
-    string(1) "2"
-    [2]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(3) {
-    [0]=>
-    string(5) "Test2"
-    [1]=>
-    string(1) "3"
-    [2]=>
-    string(1) "C"
-  }
-  [3]=>
-  array(3) {
-    [0]=>
-    NULL
-    [1]=>
-    string(1) "4"
-    [2]=>
-    string(1) "D"
-  }
-}
-Test1::__construct()
-Test2::__construct()
-Test3::__construct()
-array(4) {
-  [0]=>
-  object(stdClass)#%d (2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  object(Test2)#%d (2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-  [3]=>
-  object(Test3)#%d (2) {
-    ["id"]=>
-    string(1) "4"
-    ["val"]=>
-    string(1) "D"
-  }
-}
---UEXPECTF--
 array(4) {
   [0]=>
   array(3) {
index b68b022a2a520487015110eaf1494c9685d12a4c..3ac34277feafd84ea6ca129a1c8266c0ad14c3a6 100644 (file)
@@ -62,65 +62,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_CLASSTYPE|PDO::FETCH_UNIQUE
 Test1::__construct()
 Test2::__construct()
 Test3::__construct()
-array(2) {
-  ["Group1"]=>
-  array(2) {
-    [0]=>
-    object(stdClass)#%d (2) {
-      ["id"]=>
-      string(1) "1"
-      ["val"]=>
-      string(1) "A"
-    }
-    [1]=>
-    object(Test1)#%d (2) {
-      ["id"]=>
-      string(1) "2"
-      ["val"]=>
-      string(1) "B"
-    }
-  }
-  ["Group2"]=>
-  array(2) {
-    [0]=>
-    object(Test2)#%d (2) {
-      ["id"]=>
-      string(1) "3"
-      ["val"]=>
-      string(1) "C"
-    }
-    [1]=>
-    object(Test3)#%d (2) {
-      ["id"]=>
-      string(1) "4"
-      ["val"]=>
-      string(1) "D"
-    }
-  }
-}
-Test1::__construct()
-Test2::__construct()
-Test3::__construct()
-array(2) {
-  ["Group1"]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  ["Group2"]=>
-  object(Test3)#%d (2) {
-    ["id"]=>
-    string(1) "4"
-    ["val"]=>
-    string(1) "D"
-  }
-}
---UEXPECTF--
-Test1::__construct()
-Test2::__construct()
-Test3::__construct()
 array(2) {
   [u"Group1"]=>
   array(2) {
index 3567124695392e5cf745f4c8306042f7fae56149..95cf16c9ba7e9635574e23462ce140039cbdba54 100644 (file)
@@ -90,222 +90,6 @@ test(1,N/A)
 test(2,N/A)
 test(3,N/A)
 test(4,N/A)
-array(2) {
-  ["Group1"]=>
-  array(2) {
-    [0]=>
-    array(1) {
-      [1]=>
-      string(3) "N/A"
-    }
-    [1]=>
-    array(1) {
-      [2]=>
-      string(3) "N/A"
-    }
-  }
-  ["Group2"]=>
-  array(2) {
-    [0]=>
-    array(1) {
-      [3]=>
-      string(3) "N/A"
-    }
-    [1]=>
-    array(1) {
-      [4]=>
-      string(3) "N/A"
-    }
-  }
-}
-test(1,A)
-test(2,B)
-test(3,C)
-test(4,D)
-array(4) {
-  [0]=>
-  array(1) {
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(1) {
-    [2]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(1) {
-    [3]=>
-    string(1) "C"
-  }
-  [3]=>
-  array(1) {
-    [4]=>
-    string(1) "D"
-  }
-}
-Test1::factory(1,A)
-Test1::__construct(1,A)
-Test1::factory(2,B)
-Test1::__construct(2,B)
-Test1::factory(3,C)
-Test1::__construct(3,C)
-Test1::factory(4,D)
-Test1::__construct(4,D)
-array(4) {
-  [0]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-  [3]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "4"
-    ["val"]=>
-    string(1) "D"
-  }
-}
-Test1::factory(1,A)
-Test1::__construct(1,A)
-Test1::factory(2,B)
-Test1::__construct(2,B)
-Test1::factory(3,C)
-Test1::__construct(3,C)
-Test1::factory(4,D)
-Test1::__construct(4,D)
-array(4) {
-  [0]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-  [3]=>
-  object(Test1)#%d (2) {
-    ["id"]=>
-    string(1) "4"
-    ["val"]=>
-    string(1) "D"
-  }
-}
-string(16) "DerivedStatement"
-DerivedStatement::reTrieve(1,A)
-DerivedStatement::reTrieve(2,B)
-DerivedStatement::reTrieve(3,C)
-DerivedStatement::reTrieve(4,D)
-array(4) {
-  [0]=>
-  array(1) {
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(1) {
-    [2]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(1) {
-    [3]=>
-    string(1) "C"
-  }
-  [3]=>
-  array(1) {
-    [4]=>
-    string(1) "D"
-  }
-}
-DerivedStatement::reTrieve(1,A)
-DerivedStatement::reTrieve(2,B)
-DerivedStatement::reTrieve(3,C)
-DerivedStatement::reTrieve(4,D)
-array(4) {
-  [0]=>
-  array(1) {
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(1) {
-    [2]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(1) {
-    [3]=>
-    string(1) "C"
-  }
-  [3]=>
-  array(1) {
-    [4]=>
-    string(1) "D"
-  }
-}
-DerivedStatement::reTrieve(1,A)
-DerivedStatement::reTrieve(2,B)
-DerivedStatement::reTrieve(3,C)
-DerivedStatement::reTrieve(4,D)
-array(4) {
-  [0]=>
-  array(1) {
-    [1]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(1) {
-    [2]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(1) {
-    [3]=>
-    string(1) "C"
-  }
-  [3]=>
-  array(1) {
-    [4]=>
-    string(1) "D"
-  }
-}
---UEXPECTF--
-DerivedStatement::__construct(Overloaded)
-Test1::__construct(0,0)
-test(1,N/A)
-test(2,N/A)
-test(3,N/A)
-test(4,N/A)
 array(2) {
   [u"Group1"]=>
   array(2) {
index f73a8eb941bb2a568dd799a80f2bb603baebdbac..92d57c6c5b180b3d0d30496df367571127c7734b 100644 (file)
@@ -44,59 +44,6 @@ var_dump($stmt->fetchAll());
 
 ?>
 --EXPECTF--
-array(2) {
-  [0]=>
-  array(2) {
-    [0]=>
-    string(1) "A"
-    [1]=>
-    string(6) "Group1"
-  }
-  [1]=>
-  array(2) {
-    [0]=>
-    string(1) "B"
-    [1]=>
-    string(6) "Group2"
-  }
-}
-Test::__construct(N/A)
-Test::__construct(N/A)
-array(2) {
-  [0]=>
-  object(Test)#%d (2) {
-    ["val"]=>
-    string(1) "A"
-    ["grp"]=>
-    string(6) "Group1"
-  }
-  [1]=>
-  object(Test)#%d (2) {
-    ["val"]=>
-    string(1) "B"
-    ["grp"]=>
-    string(6) "Group2"
-  }
-}
-Test::__construct(Changed)
-Test::__construct(Changed)
-array(2) {
-  [0]=>
-  object(Test)#%d (2) {
-    ["val"]=>
-    string(1) "A"
-    ["grp"]=>
-    string(6) "Group1"
-  }
-  [1]=>
-  object(Test)#%d (2) {
-    ["val"]=>
-    string(1) "B"
-    ["grp"]=>
-    string(6) "Group2"
-  }
-}
---UEXPECTF--
 array(2) {
   [0]=>
   array(2) {
index c560b6405a07196d2bea1ce112a64682b570912f..692fb8f4b37ec5a39963239aae9e3c05202351c4 100644 (file)
@@ -54,47 +54,6 @@ foreach($stmt as $data)
 }
 ?>
 --EXPECTF--
-array(2) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(6) "Group1"
-}
-array(2) {
-  [0]=>
-  string(1) "B"
-  [1]=>
-  string(6) "Group2"
-}
-Test::__construct(N/A)
-object(Test)#%d (2) {
-  ["val"]=>
-  string(1) "A"
-  ["grp"]=>
-  string(6) "Group1"
-}
-Test::__construct(N/A)
-object(Test)#%d (2) {
-  ["val"]=>
-  string(1) "B"
-  ["grp"]=>
-  string(6) "Group2"
-}
-Test::__construct(WOW)
-object(Test)#%d (2) {
-  ["val"]=>
-  string(1) "A"
-  ["grp"]=>
-  string(6) "Group1"
-}
-Test::__construct(WOW)
-object(Test)#%d (2) {
-  ["val"]=>
-  string(1) "B"
-  ["grp"]=>
-  string(6) "Group2"
-}
---UEXPECTF--
 array(2) {
   [0]=>
   unicode(1) "A"
index 6e16e257398d08d4ae4b517c998c1ad673b9c2a0..60a07ef6132015147950cb3759ab9f26f5a05c6e 100644 (file)
@@ -71,37 +71,6 @@ foreach($stmt as $data)
 ?>
 --EXPECTF--
 Test::__construct(WOW)
-object(Test)#4 (2) {
-  ["val"]=>
-  string(1) "A"
-  ["grp"]=>
-  string(6) "Group1"
-}
-Test::__construct(WOW)
-object(Test)#6 (2) {
-  ["val"]=>
-  string(1) "B"
-  ["grp"]=>
-  string(6) "Group2"
-}
-NULL
-bool(false)
-PDOStatementAggregate::__construct
-PDOStatementAggregate::getIterator
-array(2) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(6) "Group1"
-}
-array(2) {
-  [0]=>
-  string(1) "B"
-  [1]=>
-  string(6) "Group2"
-}
---UEXPECTF--
-Test::__construct(WOW)
 object(Test)#4 (2) {
   [u"val"]=>
   unicode(1) "A"
index 4140d4b4a27d911fdaaf4622912bf22421b88f43..14826b7991951ca4ab1f6c4790e47aeeba38e826 100644 (file)
@@ -41,64 +41,6 @@ var_dump($select2->fetchAll(PDO::FETCH_COLUMN|PDO::FETCH_GROUP));
 
 ?>
 --EXPECT--
-array(2) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "2"
-}
-array(2) {
-  [0]=>
-  string(2) "A2"
-  [1]=>
-  string(2) "B2"
-}
-array(2) {
-  [1]=>
-  array(1) {
-    [0]=>
-    string(1) "A"
-  }
-  [2]=>
-  array(1) {
-    [0]=>
-    string(1) "A"
-  }
-}
-array(2) {
-  [1]=>
-  string(1) "A"
-  [2]=>
-  string(1) "A"
-}
-array(2) {
-  [1]=>
-  string(1) "1"
-  [2]=>
-  string(1) "2"
-}
-array(2) {
-  [1]=>
-  string(1) "A"
-  [2]=>
-  string(1) "A"
-}
-array(2) {
-  [1]=>
-  string(2) "A2"
-  [2]=>
-  string(2) "B2"
-}
-array(1) {
-  ["A"]=>
-  array(2) {
-    [0]=>
-    string(2) "A2"
-    [1]=>
-    string(2) "B2"
-  }
-}
---UEXPECT--
 array(2) {
   [0]=>
   unicode(1) "1"
index 6407fb118492f3617f7eec67bbf2b1b19824ca53..7246601db3d7af15617649590561ad59097deb87 100644 (file)
@@ -107,101 +107,6 @@ while($stmt2->fetch(PDO::FETCH_BOUND))
 
 ?>
 --EXPECT--
-string(1) "3"
-array(3) {
-  [0]=>
-  string(7) "String0"
-  [1]=>
-  string(7) "String1"
-  [2]=>
-  string(7) "String2"
-}
-===WHILE===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-===ALONE===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-===REBIND/SAME===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-bool(true)
-bool(true)
-string(7) "String0"
-bool(true)
-bool(true)
-string(1) "0"
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-bool(true)
-bool(true)
-string(7) "String1"
-bool(true)
-bool(true)
-string(1) "1"
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-bool(true)
-bool(true)
-string(7) "String2"
-bool(true)
-bool(true)
-string(1) "2"
-===REBIND/CONFLICT===
-string(7) "String0"
-string(7) "String1"
-string(7) "String2"
---UEXPECT--
 unicode(1) "3"
 array(3) {
   [0]=>
index 2c39649c7be8ed46e962094024cb1f62a6257941..923ebe87d71b21ecf4f483f89e3fe4417954fe9d 100755 (executable)
@@ -107,101 +107,6 @@ while($stmt2->fetch(PDO::FETCH_BOUND))
 
 ?>
 --EXPECT--
-string(1) "3"
-array(3) {
-  [0]=>
-  string(7) "String0"
-  [1]=>
-  string(7) "String1"
-  [2]=>
-  string(7) "String2"
-}
-===WHILE===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-===ALONE===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-===REBIND/SAME===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-bool(true)
-bool(true)
-string(7) "String0"
-bool(true)
-bool(true)
-string(1) "0"
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-bool(true)
-bool(true)
-string(7) "String1"
-bool(true)
-bool(true)
-string(1) "1"
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-bool(true)
-bool(true)
-string(7) "String2"
-bool(true)
-bool(true)
-string(1) "2"
-===REBIND/CONFLICT===
-string(7) "String0"
-string(7) "String1"
-string(7) "String2"
---UEXPECT--
 unicode(1) "3"
 array(3) {
   [0]=>
index 79d59d36e3282705dc7a2f4bb4f29eeb5b2da536..bdca7781a2cb63cf6ba5ada09df26cb34ceb4374 100644 (file)
@@ -156,119 +156,6 @@ var_dump($stmt->fetchAll(PDO::FETCH_CLASS|PDO::FETCH_CLASSTYPE|PDO::FETCH_SERIAL
 
 ?>
 --EXPECTF--
-string(1) "3"
-array(3) {
-  [0]=>
-  string(8) "stdClass"
-  [1]=>
-  string(8) "TestBase"
-  [2]=>
-  string(11) "TestDerived"
-}
-===TYPES===
-array(4) {
-  ["stdClass"]=>
-  string(1) "0"
-  ["TestBase"]=>
-  string(1) "1"
-  ["TestDerived"]=>
-  string(1) "2"
-  ["TestLeaf"]=>
-  NULL
-}
-===INSERT===
-TestBase::serialize() = 'a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Private";}'
-TestDerived::serialize()
-TestBase::serialize() = 'a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}'
-TestDerived::serialize()
-TestBase::serialize() = 'a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}'
-===DATA===
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Private";}"
-  [2]=>
-  string(144) "a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}"
-  [3]=>
-  string(144) "a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}"
-}
-===FAILURE===
-Exception:SQLSTATE[HY000]: General error: cannot unserialize class
-===COUNT===
-string(1) "3"
-===DATABASE===
-array(3) {
-  [0]=>
-  array(2) {
-    ["name"]=>
-    string(8) "TestBase"
-    ["val"]=>
-    string(91) "a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Private";}"
-  }
-  [1]=>
-  array(2) {
-    ["name"]=>
-    string(11) "TestDerived"
-    ["val"]=>
-    string(144) "a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}"
-  }
-  [2]=>
-  array(2) {
-    ["name"]=>
-    NULL
-    ["val"]=>
-    string(144) "a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";}"
-  }
-}
-===FETCHCLASS===
-TestBase::unserialize(a:3:{s:7:"BasePub";s:6:"Public";s:7:"BasePro";s:9:"Protected";s:7:"BasePri";s:7:"Private";})
-TestDerived::unserialize()
-TestBase::unserialize(a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";})
-TestDerived::unserialize()
-TestBase::unserialize(a:4:{s:7:"BasePub";s:13:"DerivedPublic";s:7:"BasePro";s:16:"DerivdeProtected";s:10:"DerivedPub";s:6:"Public";s:10:"DerivedPro";s:9:"Protected";})
-array(3) {
-  [0]=>
-  object(TestBase)#%d (3) {
-    ["BasePub"]=>
-    string(7) "#Public"
-    ["BasePro":protected]=>
-    string(10) "#Protected"
-    ["BasePri":"TestBase":private]=>
-    string(8) "#Private"
-  }
-  [1]=>
-  object(TestDerived)#%d (6) {
-    ["BasePub"]=>
-    string(14) "#DerivedPublic"
-    ["BasePro":protected]=>
-    string(17) "#DerivdeProtected"
-    ["DerivedPub"]=>
-    string(7) "#Public"
-    ["DerivedPro":protected]=>
-    string(10) "#Protected"
-    ["DerivedPri":"TestDerived":private]=>
-    string(7) "Private"
-    ["BasePri":"TestBase":private]=>
-    string(7) "Private"
-  }
-  [2]=>
-  object(TestLeaf)#%d (6) {
-    ["BasePub"]=>
-    string(14) "#DerivedPublic"
-    ["BasePro":protected]=>
-    string(17) "#DerivdeProtected"
-    ["DerivedPub"]=>
-    string(7) "#Public"
-    ["DerivedPro":protected]=>
-    string(10) "#Protected"
-    ["DerivedPri":"TestDerived":private]=>
-    string(7) "Private"
-    ["BasePri":"TestBase":private]=>
-    string(7) "Private"
-  }
-}
---UEXPECTF--
 unicode(1) "3"
 array(3) {
   [0]=>
index 0e1021706076a05e7235b36f94b94658e4a3d596..45bfa4a47e3bae3245bc4ac6ed8666eed225d804 100644 (file)
@@ -41,35 +41,6 @@ while($stmt->fetch(PDO::FETCH_BOUND)) {
 
 ?>
 --EXPECT--
-string(1) "4"
-array(4) {
-  [0]=>
-  string(7) "String0"
-  [1]=>
-  string(7) "String1"
-  [2]=>
-  string(7) "String2"
-  [3]=>
-  string(7) "String3"
-}
-===WHILE===
-array(1) {
-  [0]=>
-  string(7) "String0"
-}
-array(1) {
-  [1]=>
-  string(7) "String1"
-}
-array(1) {
-  [2]=>
-  string(7) "String2"
-}
-array(1) {
-  [3]=>
-  string(7) "String3"
-}
---UEXPECT--
 unicode(1) "4"
 array(4) {
   [0]=>
index bf05c5a35c47e9222a7540f46e26a08271807b53..5df63a889f563779ed9b6f27ac1c765a4743a8f5 100644 (file)
@@ -77,42 +77,6 @@ $db = NULL;
 --EXPECTF--
 int(1)
 int(2)
-object(PDODatabaseX)#%d (2) {
-  ["test1"]=>
-  int(1)
-  ["test2"]=>
-  int(22)
-}
-PDODatabaseX::query()
-PDOStatementX::__construct()
-PDOStatementX::__destruct()
-PDODatabaseX::query()
-PDOStatementX::__construct()
-PDOStatementX::__destruct()
-PDODatabaseX::query()
-PDOStatementX::__construct()
-PDOStatementX::__destruct()
-PDODatabaseX::query()
-PDOStatementX::__construct()
-object(PDOStatementX)#%d (3) {
-  ["test1"]=>
-  int(1)
-  ["queryString"]=>
-  string(24) "SELECT val, id FROM test"
-  ["test2"]=>
-  int(22)
-}
-array(2) {
-  ["A"]=>
-  string(1) "0"
-  ["B"]=>
-  string(1) "1"
-}
-PDOStatementX::__destruct()
-PDODatabaseX::__destruct()
---UEXPECTF--
-int(1)
-int(2)
 object(PDODatabaseX)#%d (2) {
   [u"test1"]=>
   int(1)
index 8594c1240a2d9c849a4f91f6c6f8acacfc3e901d..0d6c64f454be609bc689184a594056036ea49109 100644 (file)
@@ -60,58 +60,6 @@ foreach($stmt as $obj) {
 
 ?>
 --EXPECTF--
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "10"
-  ["val"]=>
-  string(3) "Abc"
-  ["val2"]=>
-  string(3) "zxy"
-}
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "20"
-  ["val"]=>
-  string(3) "Def"
-  ["val2"]=>
-  string(3) "wvu"
-}
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "30"
-  ["val"]=>
-  string(3) "Ghi"
-  ["val2"]=>
-  string(3) "tsr"
-}
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "40"
-  ["val"]=>
-  string(3) "Jkl"
-  ["val2"]=>
-  string(3) "qpo"
-}
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "50"
-  ["val"]=>
-  string(3) "Mno"
-  ["val2"]=>
-  string(3) "nml"
-}
-object(Test)#%d (3) {
-  ["id"]=>
-  string(2) "60"
-  ["val"]=>
-  string(3) "Pqr"
-  ["val2"]=>
-  string(3) "kji"
-}
-===FAIL===
-
-Fatal error: Cannot access protected property Fail::$id in %spdo_025.php on line %d
---UEXPECTF--
 object(Test)#%d (3) {
   [u"id"]=>
   unicode(2) "10"
index 9216eeb05b199af3414c9ed210765447e0ce4d85..f5bbafe12707fc7b8ab25780ff6acfc7feada949 100644 (file)
@@ -76,40 +76,6 @@ foreach($stmt as $obj) {
 echo "===DONE===\n";
 ?>
 --EXPECT--
-string(11) "PDODatabase"
-string(12) "PDOStatement"
-PDODatabase::query()
-PDOStatementX::__construct()
-string(13) "PDOStatementX"
-string(11) "PDODatabase"
-array(3) {
-  ["id"]=>
-  string(2) "10"
-  ["val"]=>
-  string(3) "Abc"
-  ["val2"]=>
-  string(3) "zxy"
-}
-array(3) {
-  ["id"]=>
-  string(2) "20"
-  ["val"]=>
-  string(3) "Def"
-  ["val2"]=>
-  string(3) "wvu"
-}
-array(3) {
-  ["id"]=>
-  string(2) "30"
-  ["val"]=>
-  string(3) "Ghi"
-  ["val2"]=>
-  string(3) "tsr"
-}
-===DONE===
-PDOStatementX::__destruct()
-PDODatabase::__destruct()
---UEXPECT--
 unicode(11) "PDODatabase"
 unicode(12) "PDOStatement"
 PDODatabase::query()
index a7797a89b8ce988aefcbd6ea290be970e2bf3276..b42cb6f6c0c6c98f3edef0ea2eba47da9be9e31b 100644 (file)
@@ -30,20 +30,6 @@ $stmt->execute();
 var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
 ?>
 --EXPECT--
-array(1) {
-  [0]=>
-  array(4) {
-    ["id"]=>
-    string(1) "1"
-    ["val1"]=>
-    string(3) "one"
-    ["val2"]=>
-    string(3) "two"
-    ["val3"]=>
-    string(5) "three"
-  }
-}
---UEXPECT--
 array(1) {
   [0]=>
   array(4) {
index 1c85fb03b2115ea49e1bb8e835b68c403e64fbe6..5df59ad22c145b1d67810d366720fc6bc7bee173 100755 (executable)
@@ -87,43 +87,6 @@ echo "===DONE===\n";
 exit(0);
 ?>
 --EXPECT--
-string(11) "PDODatabase"
-string(12) "PDOStatement"
-===QUERY===
-PDODatabase::query()
-PDOStatementX::__construct()
-PDOStatementX::execute()
-string(13) "PDOStatementX"
-string(11) "PDODatabase"
-===FOREACH===
-array(3) {
-  ["id"]=>
-  string(2) "10"
-  ["val"]=>
-  string(3) "Abc"
-  ["val2"]=>
-  string(3) "zxy"
-}
-array(3) {
-  ["id"]=>
-  string(2) "20"
-  ["val"]=>
-  string(3) "Def"
-  ["val2"]=>
-  string(3) "wvu"
-}
-array(3) {
-  ["id"]=>
-  string(2) "30"
-  ["val"]=>
-  string(3) "Ghi"
-  ["val2"]=>
-  string(3) "tsr"
-}
-===DONE===
-PDOStatementX::__destruct()
-PDODatabase::__destruct()
---UEXPECT--
 unicode(11) "PDODatabase"
 unicode(12) "PDOStatement"
 ===QUERY===
index 4b3f77bdeb93a9abf20bc5b7a7c32157a43704cc..b7fe1b91b5778e1217077ac8336fbc8fbabe8d38 100755 (executable)
@@ -88,56 +88,6 @@ echo "===DONE===\n";
 exit(0);
 ?>
 --EXPECTF--
-string(11) "PDODatabase"
-string(12) "PDOStatement"
-===QUERY===
-array(1) {
-  [0]=>
-  string(12) "PDOStatement"
-}
-array(2) {
-  [0]=>
-  string(13) "PDOStatementX"
-  [1]=>
-  array(1) {
-    [0]=>
-    object(PDODatabase)#%d (0) {
-    }
-  }
-}
-PDODatabase::query()
-PDOStatementX::__construct()
-string(13) "PDOStatementX"
-string(11) "PDODatabase"
-===FOREACH===
-array(3) {
-  ["id"]=>
-  string(2) "10"
-  ["val"]=>
-  string(3) "Abc"
-  ["val2"]=>
-  string(3) "zxy"
-}
-array(3) {
-  ["id"]=>
-  string(2) "20"
-  ["val"]=>
-  string(3) "Def"
-  ["val2"]=>
-  string(3) "wvu"
-}
-array(3) {
-  ["id"]=>
-  string(2) "30"
-  ["val"]=>
-  string(3) "Ghi"
-  ["val2"]=>
-  string(3) "tsr"
-}
-===DONE===
-PDOStatementX::__destruct()
-PDODatabase::__destruct()
---UEXPECTF--
 unicode(11) "PDODatabase"
 unicode(12) "PDOStatement"
 ===QUERY===
index 6439090be36975d3b339d3fcb26047d8caf2341e..2d46de585e827a81d5722135b9b607346c32510b 100644 (file)
@@ -35,53 +35,6 @@ $stmt->closeCursor();
 
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  array(2) {
-    ["id"]=>
-    string(1) "1"
-    ["val"]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(2) {
-    ["id"]=>
-    string(1) "2"
-    ["val"]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(2) {
-    ["id"]=>
-    string(1) "3"
-    ["val"]=>
-    string(1) "C"
-  }
-}
-array(3) {
-  [0]=>
-  array(2) {
-    ["ID"]=>
-    string(1) "1"
-    ["VAL"]=>
-    string(1) "A"
-  }
-  [1]=>
-  array(2) {
-    ["ID"]=>
-    string(1) "2"
-    ["VAL"]=>
-    string(1) "B"
-  }
-  [2]=>
-  array(2) {
-    ["ID"]=>
-    string(1) "3"
-    ["VAL"]=>
-    string(1) "C"
-  }
-}
---UEXPECT--
 array(3) {
   [0]=>
   array(2) {
index 1001b7143537ced097bb4ca7d0547b2479e45929..37d0d032dbee7792637419ef00ad2a3fea3f0eec 100644 (file)
@@ -28,30 +28,6 @@ $stmt->execute();
 print_r($stmt->getColumnMeta(0));
 ?>
 --EXPECTF--
-object(PDOStatement)#%d (1) {
-  ["queryString"]=>
-  string(18) "SELECT * from test"
-}
-Array
-(
-    [bar] => 1
-    [0] => 1
-)
-Array
-(
-    [native_type] => LONG
-    [flags] => Array
-        (
-            [0] => not_null
-        )
-
-    [table] => test
-    [name] => bar
-    [len] => 11
-    [precision] => 0
-    [pdo_type] => 2
-)
---UEXPECTF--
 object(PDOStatement)#%d (1) {
   [u"queryString"]=>
   unicode(18) "SELECT * from test"
index bf2de526bf8c04f77ef9e74f0dcff50379fdf932..700c469d8c401b6b8c3258ae2087dbc7cbb937de 100644 (file)
@@ -56,32 +56,6 @@ echo "Done\n";
 --EXPECT--
 Test 1 - Force column names to lower case
 int(2)
-array(1) {
-  ["dummy"]=>
-  string(1) "X"
-}
-Test 2 - Leave column names as returned by the database driver
-int(0)
-array(1) {
-  ["DUMMY"]=>
-  string(1) "X"
-}
-Test 3 - Force column names to upper case
-int(1)
-array(1) {
-  ["DUMMY"]=>
-  string(1) "X"
-}
-Test 4 - Setting on statement has no effect.  Attempt lower case but get upper
-Mode desired is 2
-array(1) {
-  ["DUMMY"]=>
-  string(1) "X"
-}
-Done
---UEXPECT--
-Test 1 - Force column names to lower case
-int(2)
 array(1) {
   [u"dummy"]=>
   unicode(1) "X"
index b34506c1bf06fbad0bd118bb6d25ada3a96f437d..ad96252b0d1ae05356abad0e53ab1cf461716155 100644 (file)
@@ -38,10 +38,6 @@ echo "Done\n";
 
 ?>
 --EXPECTF--
-ATTR_CLIENT_VERSION: string(%d) "%d.%s"
-Version OK, so far as can be portably checked
-Done
---UEXPECTF--
 ATTR_CLIENT_VERSION: unicode(%d) "%d.%s"
 Version OK, so far as can be portably checked
 Done
index d1b6b69827df9de6a55a6adf47cebbbbcb05372f..1185d2d3a6a994b7b78f9940d8a88c0e99dff2b0 100644 (file)
@@ -17,8 +17,5 @@ var_dump($dbh->getAttribute(PDO::ATTR_DRIVER_NAME));
 echo "Done\n";
 ?>
 --EXPECT--
-string(3) "oci"
-Done
---UEXPECT--
 unicode(3) "oci"
 Done
index ab89ec1f63deeb367b75db598574045a6bd806c3..c8094503482e14f3fb93f62b040f8f58a0d86b63 100644 (file)
@@ -56,20 +56,6 @@ PDO::ATTR_ORACLE_NULLS: PDO::NULL_EMPTY_STRING: int(1)
 NULL
 NULL
 PDO::ATTR_ORACLE_NULLS: PDO::NULL_TO_STRING: int(2)
-string(0) ""
-string(0) ""
-Done
---UEXPECT--
-PDO::ATTR_ORACLE_NULLS: Default: int(0)
-NULL
-NULL
-PDO::ATTR_ORACLE_NULLS: PDO::NULL_NATURAL: int(0)
-NULL
-NULL
-PDO::ATTR_ORACLE_NULLS: PDO::NULL_EMPTY_STRING: int(1)
-NULL
-NULL
-PDO::ATTR_ORACLE_NULLS: PDO::NULL_TO_STRING: int(2)
 unicode(0) ""
 unicode(0) ""
 Done
index 647f66f960e1eb309ad233a255fddae6218d9fa6..2ed78a64880185cee5a7c37a9e9b6552019576e2 100644 (file)
@@ -33,13 +33,6 @@ echo "Done\n";
 ?>
 --EXPECTF--
 Test 1
-ATTR_SERVER_VERSION: string(%d) "%d.%d.%d.%d.%d"
-Test 2
-ATTR_SERVER_INFO
-Found 'Oracle' at position 0 as expected
-Done
---UEXPECTF--
-Test 1
 ATTR_SERVER_VERSION: unicode(%d) "%d.%d.%d.%d.%d"
 Test 2
 ATTR_SERVER_INFO
index f76b6cd5efdb0ef3438e3a52338ef53ccf49de9b..9055dc2ca502bb08710c57646e8dfa0dc3692126 100644 (file)
@@ -42,128 +42,6 @@ echo "Done\n";
 ?>
 --EXPECTF--
 Unquoted : NULL
-Quoted   : string(2) "''"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    NULL
-  }
-}
-Unquoted : string(0) ""
-Quoted   : string(2) "''"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    NULL
-  }
-}
-Unquoted : string(1) "a"
-Quoted   : string(3) "'a'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(1) "a"
-  }
-}
-Unquoted : string(2) "ab"
-Quoted   : string(4) "'ab'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(2) "ab"
-  }
-}
-Unquoted : string(3) "abc"
-Quoted   : string(5) "'abc'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(3) "abc"
-  }
-}
-Unquoted : string(5) "ab'cd"
-Quoted   : string(8) "'ab''cd'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(5) "ab'cd"
-  }
-}
-Unquoted : string(4) "a\b
-"
-Quoted   : string(6) "'a\b
-'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(4) "a\b
-"
-  }
-}
-Unquoted : string(1) "'"
-Quoted   : string(4) "''''"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(1) "'"
-  }
-}
-Unquoted : string(2) "''"
-Quoted   : string(6) "''''''"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(2) "''"
-  }
-}
-Unquoted : string(2) "a'"
-Quoted   : string(5) "'a'''"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(2) "a'"
-  }
-}
-Unquoted : string(2) "'z"
-Quoted   : string(5) "'''z'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(2) "'z"
-  }
-}
-Unquoted : string(4) "a''b"
-Quoted   : string(8) "'a''''b'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(4) "a''b"
-  }
-}
-Unquoted : string(1) """
-Quoted   : string(3) "'"'"
-array(1) {
-  [0]=>
-  array(1) {
-    ["t"]=>
-    string(1) """
-  }
-}
-Done
---UEXPECTF--
-Unquoted : NULL
 Quoted   : unicode(2) "''"
 array(1) {
   [0]=>
index 868b5fbab78a206713dfe561de87b3f51d1fd8f6..034a5c32787bf7403883f75b08273cd7487b942e 100644 (file)
@@ -44,32 +44,6 @@ $dbh->exec ("drop table bug_6364_t");
 ?>
 
 --EXPECTF--
-string(4) "val4"
-string(4) "val5"
-array(10) {
-  ["c1"]=>
-  string(2) "p1"
-  [0]=>
-  string(2) "p1"
-  ["c2"]=>
-  string(2) "p2"
-  [1]=>
-  string(2) "p2"
-  ["c3"]=>
-  string(2) "p3"
-  [2]=>
-  string(2) "p3"
-  ["c4"]=>
-  NULL
-  [3]=>
-  NULL
-  ["c5"]=>
-  NULL
-  [4]=>
-  NULL
-}
-Done
---UEXPECTF--
 unicode(4) "val4"
 unicode(4) "val5"
 array(10) {
index 86a49617951a43a3072ac8ea30329008145a48c3..6f2db37d5a78e2cdcfd8e0e5b9428e0b13dac205 100644 (file)
@@ -68,24 +68,3 @@ object(PharFileInfo)#%d (2) {
 string(5) "extra"
 extra
 ===DONE===
---UEXPECTF--
-===CLOSE===
-object(PharFileInfo)#%d (2) {
-  [u"pathName":u"SplFileInfo":private]=>
-  string(%d) "phar://%srefcount1.phar.zip/b"
-  [u"fileName":u"SplFileInfo":private]=>
-  string(%d) "phar://%srefcount1.phar.zip/b/c.php"
-}
-string(5) "extra"
-===UNLINK===
-
-Warning: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.zip", has open file pointers, cannot unlink in %srefcount1.php on line %d
-object(PharFileInfo)#%d (2) {
-  [u"pathName":u"SplFileInfo":private]=>
-  string(%d) "phar://%srefcount1.phar.zip/b"
-  [u"fileName":u"SplFileInfo":private]=>
-  string(%s) "phar://%srefcount1.phar.zip/b/c.php"
-}
-string(5) "extra"
-extra
-===DONE===
index f60d4dd884c37bd1f2a3fbcb026cf73f8498ff42..84000c4a33103e5052ecf7ce7989b25e41fca5ad 100755 (executable)
@@ -79,17 +79,6 @@ var_dump($r->name);
 --EXPECT--
 array(0) {
 }
-array(2) {
-  [0]=>
-  string(3) "bla"
-  [1]=>
-  string(4) "name"
-}
-string(17) "ReflectionClassEx"
-===DONE===
---UEXPECT--
-array(0) {
-}
 array(2) {
   [0]=>
   unicode(3) "bla"
index 41c0373c209019d5f79211bc48034eecf03e80d0..f974a99c69255d13092ad5ab7e5df840ecf27af9 100755 (executable)
@@ -50,19 +50,6 @@ var_dump($r->bar);
 ===DONE===
 --EXPECTF--
 ReflectionMethodEx::__construct
-string(18) "ReflectionMethodEx"
-string(7) "getName"
-string(3) "xyz"
-NULL
-Cannot set read-only property ReflectionMethodEx::$class
-Cannot set read-only property ReflectionMethodEx::$name
-string(18) "ReflectionMethodEx"
-string(7) "getName"
-string(3) "bar"
-string(3) "baz"
-===DONE===
---UEXPECTF--
-ReflectionMethodEx::__construct
 unicode(18) "ReflectionMethodEx"
 unicode(7) "getName"
 unicode(3) "xyz"
index 032775b34321f9cbbc494801a87bf2cb1ca09cd9..bd5dd24898ea07913ec80e96de29a6485cdc33c2 100755 (executable)
@@ -46,13 +46,6 @@ foreach($r->getMethods() as $m)
 ?>
 ===DONE===
 --EXPECT--
-string(19) "Comment for class A"
-string(15) "Method A::bla()"
-bool(false)
-bool(false)
-string(22) "* Comment for A::baz()"
-===DONE===
---UEXPECT--
 unicode(19) "Comment for class A"
 unicode(15) "Method A::bla()"
 bool(false)
index 4e76fa7336fedb2a72e28a7d574302a3f216d543..b332a0ceedb9a947aee63070f3663ac91aeb8181 100755 (executable)
@@ -85,23 +85,6 @@ TestDerived::testing();
 ===DONE===
 <?php exit(0); ?>
 --EXPECT--
-string(3) "pub"
-string(3) "pub"
-string(7) "updated"
-EXCEPTION
-EXCEPTION
-string(7) "updated"
-string(7) "updated"
-string(7) "updated"
-EXCEPTION
-EXCEPTION
-string(7) "updated"
-string(7) "updated"
-string(7) "updated"
-EXCEPTION
-EXCEPTION
-===DONE===
---UEXPECT--
 unicode(3) "pub"
 unicode(3) "pub"
 unicode(7) "updated"
index cb734182f15b216d65b804c26768aca4f0db209a..5c4b48d092884627e9bd0d9a4a4d7ec96afd67a2 100755 (executable)
@@ -89,76 +89,6 @@ test('WithCtorWithArgs');
 <?php exit(0); ?>
 --EXPECTF--
 
-====>Class_does_not_exist
-__autoload(Class_does_not_exist)
-string(41) "Class Class_does_not_exist does not exist"
-====>NoCtor
-====>newInstance()
-object(NoCtor)#%d (0) {
-}
-====>newInstance(25)
-string(86) "Class NoCtor does not have a constructor, so you cannot pass any constructor arguments"
-====>newInstance(25, 42)
-string(86) "Class NoCtor does not have a constructor, so you cannot pass any constructor arguments"
-
-====>WithCtor
-====>newInstance()
-WithCtor::__construct()
-array(0) {
-}
-object(WithCtor)#%d (0) {
-}
-====>newInstance(25)
-WithCtor::__construct()
-array(1) {
-  [0]=>
-  int(25)
-}
-object(WithCtor)#%d (0) {
-}
-====>newInstance(25, 42)
-WithCtor::__construct()
-array(2) {
-  [0]=>
-  int(25)
-  [1]=>
-  int(42)
-}
-object(WithCtor)#%d (0) {
-}
-
-====>WithCtorWithArgs
-====>newInstance()
-
-Warning: Missing argument 1 for WithCtorWithArgs::__construct() in %s007.php on line %d
-
-Notice: Undefined variable: arg in %s007.php on line %d
-WithCtorWithArgs::__construct()
-array(0) {
-}
-object(WithCtorWithArgs)#%d (0) {
-}
-====>newInstance(25)
-WithCtorWithArgs::__construct(25)
-array(1) {
-  [0]=>
-  int(25)
-}
-object(WithCtorWithArgs)#%d (0) {
-}
-====>newInstance(25, 42)
-WithCtorWithArgs::__construct(25)
-array(2) {
-  [0]=>
-  int(25)
-  [1]=>
-  int(42)
-}
-object(WithCtorWithArgs)#%d (0) {
-}
-
-===DONE===
---UEXPECTF--
 ====>Class_does_not_exist
 __autoload(Class_does_not_exist)
 unicode(41) "Class Class_does_not_exist does not exist"
index e88c6d5aba88330c296d4979697a0097f510fa64..4c06da15a86be0971e14e2eb55ea703f94b699e9 100755 (executable)
@@ -27,17 +27,6 @@ foreach ($a as $key=>$val) {
 echo "Done\n";
 ?>
 --EXPECT--     
-string(20) "Invalid method name "
-string(21) "Invalid method name 1"
-string(21) "Class  does not exist"
-string(22) "Class a does not exist"
-string(21) "Class  does not exist"
-string(22) "Class a does not exist"
-string(21) "Class  does not exist"
-string(66) "The parameter class is expected to be either a string or an object"
-string(21) "Class  does not exist"
-Done
---UEXPECT--    
 unicode(20) "Invalid method name "
 unicode(21) "Invalid method name 1"
 unicode(21) "Class  does not exist"
index 9035c19b9696010e3032037bee8bde52b2c56a20..2893e002360bb6803d507eea8153ab0357d877ad 100755 (executable)
@@ -11,7 +11,5 @@ $inis = $ext->getINIEntries();
 var_dump($inis["user_agent"]);
 ?>
 --EXPECT--     
-string(3) "php"
---UEXPECT--    
 unicode(3) "php"
 
index e1f71b3697637ee69d1e155b4d5d54bfa2b3ac33..46e379311f7d4c60ea95bc2a5cd369f17e215670 100755 (executable)
@@ -14,11 +14,6 @@ $deps = $ext->getDependencies();
 var_dump($deps);
 ?>
 --EXPECT--     
-array(1) {
-  ["libxml"]=>
-  string(8) "Required"
-}
---UEXPECT--
 array(1) {
   [u"libxml"]=>
   unicode(8) "Required"
index 56bd508d150eee79fa6c483b6f7f9995c610b0aa..9280fbbe6b4418220bbedf09d1953a7b73c2cb10 100755 (executable)
@@ -14,26 +14,6 @@ echo $class;
 Class [ <user> class Foo ] {
   @@ %s017.php 2-4
 
-  - Constants [1] {
-    Constant [ string test ] { ok }
-  }
-
-  - Static properties [0] {
-  }
-
-  - Static methods [0] {
-  }
-
-  - Properties [0] {
-  }
-
-  - Methods [0] {
-  }
-}
---UEXPECTF--   
-Class [ <user> class Foo ] {
-  @@ %s017.php 2-4
-
   - Constants [1] {
     Constant [ Unicode string test ] { ok }
   }
index 0cebd82ab65109557aa30b3df5d8affcaec3db66..535a83c706bb0438455e3a594253656eafbf2296 100755 (executable)
@@ -7,13 +7,6 @@ Reflection::getModifierNames
 var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED));
 ?>
 --EXPECT--     
-array(2) {
-  [0]=>
-  string(5) "final"
-  [1]=>
-  string(9) "protected"
-}
---UEXPECT--    
 array(2) {
   [0]=>
   unicode(5) "final"
index 0f7daa21edcc44a25499464f8b3f0b93ebf428a2..6345ac26d39fae6d5bb81f7f60c7c6eb484ac2fc 100755 (executable)
@@ -8,6 +8,4 @@ $f = new ReflectionFunction("sleep");
 var_dump($f->getExtensionName());
 ?>
 --EXPECT--     
-string(8) "standard"
---UEXPECT--    
 unicode(8) "standard"
index 8856acb0c7dc4bdc98bc253abe5614bfe6c62f05..4440cd18f79c36212c6650917028c080d80db055 100755 (executable)
@@ -24,11 +24,5 @@ var_dump($obj->hasProperty("p4"));
 bool(true)
 bool(true)
 bool(true)
-string(2) "p4"
-bool(false)
---UEXPECT--    
-bool(true)
-bool(true)
-bool(true)
 unicode(2) "p4"
 bool(false)
index 8085f15c15620e0614774a40164d7860259c8452..04d2c9afa1d30bd9b1ae9b89d958f2bb0ecf3697 100755 (executable)
@@ -18,19 +18,6 @@ $class = new ReflectionClass("C2");
 var_dump($class->getDefaultProperties());
 ?>
 --EXPECT--     
-array(5) {
-  ["p4"]=>
-  int(4)
-  ["p5"]=>
-  int(5)
-  ["p6"]=>
-  int(6)
-  ["p2"]=>
-  int(2)
-  ["p3"]=>
-  int(3)
-}
---UEXPECT--
 array(5) {
   [u"p4"]=>
   int(4)
index 06da4b9a5dd30868dfae9e8805f5f0c4c948be23..388d2cc2929f878b42a748951dad79bd8ed183ad 100644 (file)
@@ -51,71 +51,6 @@ echo "Done\n";
 /**
 hoho
 */
-Function [ <user> function test ] {
-  @@ %s025.php 6 - 8
-
-  - Parameters [3] {
-    Parameter #0 [ <required> $a ]
-    Parameter #1 [ <optional> $b = 1 ]
-    Parameter #2 [ <optional> $c = '' ]
-  }
-}
-
-NULL
---getName--
-string(4) "test"
---isInternal--
-bool(false)
---isUserDefined--
-bool(true)
---getFilename--
-string(%d) "%s025.php"
---getStartline--
-int(6)
---getEndline--
-int(8)
---getDocComment--
-string(11) "/**
-hoho
-*/"
---getStaticVariables--
-array(1) {
-  ["var"]=>
-  int(1)
-}
---invoke--
-NULL
---invokeArgs--
-NULL
---returnsReference--
-bool(false)
---getParameters--
-array(3) {
-  [0]=>
-  &object(ReflectionParameter)#2 (1) {
-    ["name"]=>
-    string(1) "a"
-  }
-  [1]=>
-  &object(ReflectionParameter)#3 (1) {
-    ["name"]=>
-    string(1) "b"
-  }
-  [2]=>
-  &object(ReflectionParameter)#4 (1) {
-    ["name"]=>
-    string(1) "c"
-  }
-}
---getNumberOfParameters--
-int(3)
---getNumberOfRequiredParameters--
-int(1)
-Done
---UEXPECTF--
-/**
-hoho
-*/
 Function [ <user> function test ] {
   @@ %s 6 - 8
 
index 18345892c77cf171b794824a4484f093ca4202ff..191b01296beff21aed0d15c67df7e596858f0889 100644 (file)
@@ -12,8 +12,8 @@ var_dump($function->getExtension());
 ?>
 --EXPECTF--
 object(ReflectionExtension)#%i (1) {
-  ["name"]=>
-  string(8) "standard"
+  [u"name"]=>
+  unicode(8) "standard"
 }
 NULL
 
index 7553a50b346050698ae93443524357df9f1444c9..704788759ee89a4add2d3818b24ccfa21d876ad6 100644 (file)
@@ -11,6 +11,6 @@ $function = new ReflectionFunction('foo');
 var_dump($function->getExtensionName());
 ?>
 --EXPECT--
-string(8) "standard"
+unicode(8) "standard"
 bool(false)
 
index b287c3ac25aa38d823fa7b9936d272c11fb67417..95b24810cbf02fe8c8f0f28d559d12df27c3f6e8 100644 (file)
@@ -53,141 +53,6 @@ reflectMethod("TestClass", "__destruct");
 **********************************
 Reflecting on method DerivedClass::foo()
 
-__toString():
-string(%d) "Method [ <user, inherits TestClass> public method foo ] {
-  @@ %s 16 - 18
-}
-"
-
-export():
-string(%d) "Method [ <user, inherits TestClass> public method foo ] {
-  @@ %s 16 - 18
-}
-"
-
-**********************************
-**********************************
-Reflecting on method TestClass::stat()
-
-__toString():
-string(%d) "Method [ <user> static public method stat ] {
-  @@ %s 20 - 22
-}
-"
-
-export():
-string(%d) "Method [ <user> static public method stat ] {
-  @@ %s 20 - 22
-}
-"
-
-**********************************
-**********************************
-Reflecting on method TestClass::priv()
-
-__toString():
-string(%d) "Method [ <user> private method priv ] {
-  @@ %s 24 - 26
-}
-"
-
-export():
-string(%d) "Method [ <user> private method priv ] {
-  @@ %s 24 - 26
-}
-"
-
-**********************************
-**********************************
-Reflecting on method TestClass::prot()
-
-__toString():
-string(%d) "Method [ <user> protected method prot ] {
-  @@ %s 28 - 28
-}
-"
-
-export():
-string(%d) "Method [ <user> protected method prot ] {
-  @@ %s 28 - 28
-}
-"
-
-**********************************
-**********************************
-Reflecting on method DerivedClass::prot()
-
-__toString():
-string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
-  @@ %s 28 - 28
-}
-"
-
-export():
-string(%d) "Method [ <user, inherits TestClass> protected method prot ] {
-  @@ %s 28 - 28
-}
-"
-
-**********************************
-**********************************
-Reflecting on method TestInterface::int()
-
-__toString():
-string(%d) "Method [ <user> abstract public method int ] {
-  @@ %s 36 - 36
-}
-"
-
-export():
-string(%d) "Method [ <user> abstract public method int ] {
-  @@ %s 36 - 36
-}
-"
-
-**********************************
-**********************************
-Reflecting on method ReflectionProperty::__construct()
-
-__toString():
-string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
-
-  - Parameters [1] {
-    Parameter #0 [ <required> $argument ]
-  }
-}
-"
-
-export():
-string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
-
-  - Parameters [1] {
-    Parameter #0 [ <required> $argument ]
-  }
-}
-"
-
-**********************************
-**********************************
-Reflecting on method TestClass::__destruct()
-
-__toString():
-string(%d) "Method [ <user, dtor> public method __destruct ] {
-  @@ %s 30 - 30
-}
-"
-
-export():
-string(%d) "Method [ <user, dtor> public method __destruct ] {
-  @@ %s 30 - 30
-}
-"
-
-**********************************
---UEXPECTF--
-**********************************
-Reflecting on method DerivedClass::foo()
-
 __toString():
 unicode(%d) "Method [ <user, inherits TestClass> public method foo ] {
   @@ %sReflectionMethod_basic2.php 16 - 18
index 2878fc567379a7a5a5471c0d8a130b6b9ab39e47..8205c665a1064200b98c39acc5e1d4e86408fafb 100644 (file)
@@ -57,119 +57,6 @@ reflectMethod("TestClass", "__destruct");
 Reflecting on method DerivedClass::foo()
 
 
-getName():
-string(3) "foo"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method TestClass::stat()
-
-
-getName():
-string(4) "stat"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method TestClass::priv()
-
-
-getName():
-string(4) "priv"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method TestClass::prot()
-
-
-getName():
-string(4) "prot"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method DerivedClass::prot()
-
-
-getName():
-string(4) "prot"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method TestInterface::int()
-
-
-getName():
-string(3) "int"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
-**********************************
-Reflecting on method ReflectionProperty::__construct()
-
-
-getName():
-string(11) "__construct"
-
-isInternal():
-bool(true)
-
-isUserDefined():
-bool(false)
-
-**********************************
-**********************************
-Reflecting on method TestClass::__destruct()
-
-
-getName():
-string(10) "__destruct"
-
-isInternal():
-bool(false)
-
-isUserDefined():
-bool(true)
-
-**********************************
---UEXPECT--
-**********************************
-Reflecting on method DerivedClass::foo()
-
-
 getName():
 unicode(3) "foo"
 
index 81ec97f8fbd324aea87f9717dd98805bd6207173..1a46a343708f36a24e4a447d56300b0a3372ae14 100644 (file)
@@ -60,119 +60,6 @@ reflectMethod("TestClass", "__destruct");
 Reflecting on method DerivedClass::foo()
 
 
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(18)
-
-getEndLine():
-int(24)
-
-**********************************
-**********************************
-Reflecting on method TestClass::stat()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(26)
-
-getEndLine():
-int(28)
-
-**********************************
-**********************************
-Reflecting on method TestClass::priv()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(30)
-
-getEndLine():
-int(32)
-
-**********************************
-**********************************
-Reflecting on method TestClass::prot()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(34)
-
-getEndLine():
-int(34)
-
-**********************************
-**********************************
-Reflecting on method DerivedClass::prot()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(34)
-
-getEndLine():
-int(34)
-
-**********************************
-**********************************
-Reflecting on method TestInterface::int()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(42)
-
-getEndLine():
-int(42)
-
-**********************************
-**********************************
-Reflecting on method ReflectionProperty::__construct()
-
-
-getFileName():
-bool(false)
-
-getStartLine():
-bool(false)
-
-getEndLine():
-bool(false)
-
-**********************************
-**********************************
-Reflecting on method TestClass::__destruct()
-
-
-getFileName():
-string(%d) "%sReflectionMethod_basic4.php"
-
-getStartLine():
-int(36)
-
-getEndLine():
-int(36)
-
-**********************************
---UEXPECTF--
-**********************************
-Reflecting on method DerivedClass::foo()
-
-
 getFileName():
 unicode(%d) "%sReflectionMethod_basic4.php"
 
index e5fe27a8d05a7dd6042a97e876af9c7c62dba654..303b12a7b3938ca51926aa5139ff2dd82b21df8c 100644 (file)
@@ -19,15 +19,6 @@ var_dump($methodInfo->getDeclaringClass());
 
 ?> 
 --EXPECTF--
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(1) "A"
-}
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(1) "B"
-}
---UEXPECTF--
 object(ReflectionClass)#%d (1) {
   [u"name"]=>
   unicode(1) "A"
index 304476f17a8307c075b8d5b6094244bce9faf628..a82c2293b220d7e0a97622479b27eda021b15d63 100644 (file)
@@ -63,55 +63,6 @@ foreach (array('A', 'B') as $class) {
 ?>
 --EXPECTF--
 
-
----> Doc comment for A::f():
-string(%d) "/**
-     * My Doc Comment for A::f
-     */"
-
-
----> Doc comment for A::privf():
-string(%d) "/**
-     * My Doc Comment for A::privf
-     */"
-
-
----> Doc comment for A::protStatf():
-string(%d) "/** My Doc Comment for A::protStatf */"
-
-
----> Doc comment for A::finalStatPubf():
-string(%d) "/**
-
-     * My Doc Comment for A::finalStatPubf
-     */"
-
-
----> Doc comment for B::f():
-bool(false)
-
-
----> Doc comment for B::privf():
-string(%d) "/** *
-     * My Doc Comment for B::privf
-     */"
-
-
----> Doc comment for B::protStatf():
-string(%d) "/** My Doc Comment for B::protStatf 
-
-
-
-
-    */"
-
-
----> Doc comment for B::finalStatPubf():
-string(%d) "/**
-
-     * My Doc Comment for A::finalStatPubf
-     */"
---UEXPECTF--
 ---> Doc comment for A::f():
 unicode(%s) "/**
      * My Doc Comment for A::f
index 3891c9cf1905c2d87acc83c8c80d387659af1b16..6a104295947174ea13c1eec957e82a706dce7a61 100644 (file)
@@ -39,30 +39,6 @@ var_dump($methodInfo->getStaticVariables());
 ?>
 --EXPECT--
 Public method:
-array(3) {
-  ["c"]=>
-  NULL
-  ["a"]=>
-  int(1)
-  ["b"]=>
-  string(5) "hello"
-}
-
-Private method:
-array(1) {
-  ["a"]=>
-  int(1)
-}
-
-Method with no static variables:
-array(0) {
-}
-
-Internal Method:
-array(0) {
-}
---UEXPECT--
-Public method:
 array(3) {
   [u"c"]=>
   NULL
index fd08d6b712297a26d1fdb061d77bbd63e17e159f..9a6c67bbac991565a06cffd8e1d9650a8e1ce5dc 100644 (file)
@@ -51,29 +51,6 @@ try {
 --EXPECTF--
 Public method:
 Called foo(), property = Hello
-object(TestClass)#%d (1) {
-  ["prop"]=>
-  string(5) "Hello"
-}
-string(10) "Return Val"
-Called foo(), property = Hello
-object(TestClass)#%d (1) {
-  ["prop"]=>
-  string(5) "Hello"
-}
-string(10) "Return Val"
-
-Method with args:
-Called methodWithArgs(1, arg2)
-NULL
-Called methodWithArgs(1, arg2)
-NULL
-
-Method that throws an exception:
-string(18) "Called willThrow()"
---UEXPECTF--
-Public method:
-Called foo(), property = Hello
 object(TestClass)#%d (1) {
   [u"prop"]=>
   unicode(5) "Hello"
index 51f4d46cd9dd6aaf5071aa58cba8c4edb7fe151e..c6738c13e85d46a2193f01c67944a2f3cb353612 100644 (file)
@@ -78,46 +78,6 @@ try {
 --EXPECTF--
 Wrong number of parameters:
 
-Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Non-instance:
-string(72) "Given object is not an instance of the class this method was declared in"
-
-Non-object:
-
-Warning: ReflectionMethod::invokeArgs() expects parameter 1 to be object, boolean given in %s on line %d
-NULL
-
-Static method:
-
-Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: ReflectionMethod::invokeArgs() expects parameter 1 to be object, boolean given in %s on line %d
-NULL
-Called staticMethod()
-
-Notice: Undefined variable: this in %s on line %d
-NULL
-NULL
-
-Private method:
-string(84) "Trying to invoke private method TestClass::privateMethod from scope ReflectionMethod"
-
-Abstract method:
-string(51) "Trying to invoke abstract method AbstractClass::foo"
-
-Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 1 given in %s on line %d
---UEXPECTF--
-Wrong number of parameters:
-
 Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 0 given in %sReflectionMethod_invokeArgs_error3.php on line %d
 NULL
 
index ab42eba098303046c575ce41e1ab2de5f90790cb..74c3ea04fe42eab576e77b6de7b72a1d9251fe15 100644 (file)
@@ -71,44 +71,6 @@ try {
 --EXPECTF--
 Public method:
 Called foo(), property = Hello
-object(TestClass)#%d (1) {
-  ["prop"]=>
-  string(5) "Hello"
-}
-string(10) "Return Val"
-Called foo(), property = Hello
-object(TestClass)#%d (1) {
-  ["prop"]=>
-  string(5) "Hello"
-}
-string(10) "Return Val"
-
-Method with args:
-Called methodWithArgs(1, arg2)
-NULL
-Called methodWithArgs(1, arg2)
-NULL
-
-Static method:
-
-Warning: Invoke() expects at least one parameter, none given in %s on line %d
-bool(false)
-Called staticMethod()
-
-Notice: Undefined variable: this in %s on line %d
-NULL
-NULL
-Called staticMethod()
-
-Notice: Undefined variable: this in %s on line %d
-NULL
-NULL
-
-Method that throws an exception:
-string(18) "Called willThrow()"
---UEXPECTF--
-Public method:
-Called foo(), property = Hello
 object(TestClass)#%d (1) {
   [u"prop"]=>
   unicode(5) "Hello"
index c96289943648bb5d7d191af19c60df3d58a6d58b..2ead61e2d4f521e80937a09bc90743596a105eb9 100644 (file)
@@ -59,18 +59,6 @@ try {
 ?>
 --EXPECT--
 invoke() on a non-object:
-string(29) "Non-object passed to Invoke()"
-
-invoke() on a non-instance:
-string(72) "Given object is not an instance of the class this method was declared in"
-
-Private method:
-string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
-
-Abstract method:
-string(53) "Trying to invoke abstract method AbstractClass::foo()"
---UEXPECT--
-invoke() on a non-object:
 unicode(29) "Non-object passed to Invoke()"
 
 invoke() on a non-instance:
index e958e162d2ef0f4e5216aa59e142df91d4db6611..c5809ce135f854e896d29d39774b68783ba2cd2d 100755 (executable)
@@ -21,8 +21,5 @@ var_dump($class->getName());
 ?>
 ===DONE===
 --EXPECT--
-string(3) "Foo"
-===DONE===
---UEXPECT--
 unicode(3) "Foo"
 ===DONE===
index 6017d26ae16864a078abe8bb41393f2e79f44a47..1767a3bf24686fc5c3a343242e45e1e7da8ee4b4 100644 (file)
@@ -19,30 +19,6 @@ Reflection::export(new ReflectionClass('just_constants'));
 Class [ <user> class just_constants ] {
   @@ %s %d-%d
 
-  - Constants [5] {
-    Constant [ boolean BOOLEAN_CONSTANT ] { 1 }
-    Constant [ null NULL_CONSTANT ] {  }
-    Constant [ string STRING_CONSTANT ] { This is a string }
-    Constant [ integer INTEGER_CONSTANT ] { 1000 }
-    Constant [ double FLOAT_CONSTANT ] { 3.14159265 }
-  }
-
-  - Static properties [0] {
-  }
-
-  - Static methods [0] {
-  }
-
-  - Properties [0] {
-  }
-
-  - Methods [0] {
-  }
-}
---UEXPECTF--
-Class [ <user> class just_constants ] {
-  @@ %s %d-%d
-
   - Constants [5] {
     Constant [ boolean BOOLEAN_CONSTANT ] { 1 }
     Constant [ null NULL_CONSTANT ] {  }
index 571cd64cec9e0bb9cdc2a639774cfa18a9d9487e..f84583e2003af2fd25e1e2521e3661a230c3bc6e 100755 (executable)
@@ -26,10 +26,6 @@ $foo->testBAR();
 ?>
 ===DONE===
 --EXPECTF--
-string(7) "testBAR"
-string(7) "testBAR"
-===DONE===
---UEXPECTF--
 unicode(7) "testBAR"
 unicode(7) "testBAR"
 ===DONE===
index accc9fc7c457d09f0be77f40182271255eb63f28..f3d9ae5632299092ded2f2177011ae5cb98c1e22 100755 (executable)
@@ -13,12 +13,6 @@ var_dump($class->getStaticProperties());
 ?>
 ===DONE===
 --EXPECT--
-array(1) {
-  ["a"]=>
-  string(4) "test"
-}
-===DONE===
---UEXPECT--
 array(1) {
   [u"a"]=>
   unicode(4) "test"
index 8c6b41f8e4d01b1119f63fb3fb29c3c6df980d0e..90603715ea03cac31ae47fba1a86a5e9960948ea 100755 (executable)
@@ -23,16 +23,6 @@ var_dump($arr_static_vars);
 ?>
 ===DONE===
 --EXPECT--
-string(4) "test"
-array(1) {
-  [0]=>
-  array(1) {
-    ["enabled"]=>
-    bool(true)
-  }
-}
-===DONE===
---UEXPECT--
 unicode(4) "test"
 array(1) {
   [0]=>
index ff1b802a1d441e19407fdfd6b63bce4c38de0a16..9cc6b0aa1574df38953822963b7edb6b5c70572d 100755 (executable)
@@ -15,22 +15,6 @@ var_dump(isset($properties["\0*\0bar"]));
 var_dump(isset($properties["bar"]));
 ?>
 --EXPECT--
-array(2) {
-  ["bar"]=>
-  string(3) "baz"
-  ["a"]=>
-  string(1) "a"
-}
-array(2) {
-  [0]=>
-  string(3) "bar"
-  [1]=>
-  string(1) "a"
-}
-bool(false)
-bool(false)
-bool(true)
---UEXPECT--
 array(2) {
   [u"bar"]=>
   unicode(3) "baz"
index faaef09d31a3721ae014d658502a3ff8a102dd85..d71e950dc85b73814f08d87cf90b05237d92c83f 100644 (file)
@@ -30,20 +30,6 @@ object(Object)#%d (0) {
 
 Warning: Missing argument 1 for Object1::__construct() in %s on line %d
 
-Notice: Undefined variable: var in %s on line %d
-NULL
-object(Object1)#%d (0) {
-}
-string(4) "test"
-object(Object1)#%d (0) {
-}
-Done
---UEXPECTF--
-object(Object)#%d (0) {
-}
-
-Warning: Missing argument 1 for Object1::__construct() in %s on line %d
-
 Notice: Undefined variable: var in %s on line %d
 NULL
 object(Object1)#%d (0) {
index 48f1c6ce41a8fb7d3715782f0ec96f45053111c0..0d0b9476dc41653d7b061f8c88cfa3b72d018a10 100644 (file)
@@ -22,12 +22,6 @@ echo "Done\n";
 ?>
 --EXPECTF--    
 int(10)
-string(0) ""
-string(4) "test"
-bool(false)
-Done
---UEXPECTF--
-int(10)
 unicode(0) ""
 unicode(4) "test"
 bool(false)
index bf8927d661f3c1bf840e853d79b996f39a6daecb..0eeb8b7fab25c62b5ae257b9be6637237fc98cf5 100644 (file)
@@ -22,10 +22,6 @@ var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
 echo "Done\n";
 ?>
 --EXPECTF--    
-string(7) "CParent"
-string(7) "CParent"
-Done
---UEXPECTF--
 unicode(7) "CParent"
 unicode(7) "CParent"
 Done
index 5aae08315239ad30f282c94f2019cddd851629b3..d00764cdad30e56b2b1d0bc7d2a990948db13bab 100644 (file)
@@ -38,12 +38,6 @@ var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
 echo "Done\n";
 ?>
 --EXPECTF--    
-string(1) "C"
-string(1) "B"
-string(1) "A"
-string(5) "Test2"
-Done
---UEXPECTF--
 unicode(1) "C"
 unicode(1) "B"
 unicode(1) "A"
index 874fb54078da28c1b0f3788375f7040e2c7d8b8e..acbd4c55d11b1a7c5ab1769da3e683c018055c8b 100644 (file)
@@ -16,11 +16,6 @@ $refParam = new ReflectionParameter(array('stubParamTest', 'paramTest'), 'param'
 var_dump($refParam->getClass());
 ?>
 --EXPECT--     
-object(ReflectionClass)#4 (1) {
-  ["name"]=>
-  string(13) "stubParamTest"
-}
---UEXPECT--
 object(ReflectionClass)#4 (1) {
   [u"name"]=>
   unicode(13) "stubParamTest"
index 68c18cf0d4898603775b337a0ab5e20f18c655a4..ba80d29427e7d105a50474806462cad0819c9985 100644 (file)
@@ -79,66 +79,6 @@ echo "Done\n";
 --EXPECTF--    
 === 1st test ===
 
-Strict Standards: Creating default object from empty value in %s on line %d
-array(1) {
-  [0]=>
-  &object(ReflectionProperty)#%d (2) {
-    ["name"]=>
-    string(5) "value"
-    ["class"]=>
-    string(8) "stdClass"
-  }
-}
-bool(false)
-bool(false)
-bool(true)
-bool(false)
-=== 2nd test ===
-array(1) {
-  [0]=>
-  &object(ReflectionProperty)#%d (2) {
-    ["name"]=>
-    string(5) "value"
-    ["class"]=>
-    string(5) "test2"
-  }
-}
-bool(false)
-bool(false)
-bool(true)
-bool(false)
-=== 3rd test ===
-array(1) {
-  [0]=>
-  &object(ReflectionProperty)#%d (2) {
-    ["name"]=>
-    string(5) "value"
-    ["class"]=>
-    string(5) "test3"
-  }
-}
-bool(false)
-bool(false)
-bool(true)
-bool(false)
-=== 4th test ===
-array(1) {
-  [0]=>
-  &object(ReflectionProperty)#%d (2) {
-    ["name"]=>
-    string(5) "value"
-    ["class"]=>
-    string(5) "test4"
-  }
-}
-bool(false)
-bool(false)
-bool(true)
-bool(false)
-Done
---UEXPECTF--
-=== 1st test ===
-
 Strict Standards: Creating default object from empty value in %s on line %d
 array(1) {
   [0]=>
index 504903109602a2e4c31e77f3157d85181fa431c5..f553c75259fc7cca09986ee03f7c59e6290fa12f 100644 (file)
@@ -21,16 +21,6 @@ var_dump($array);
 echo "Done\n";
 ?>
 --EXPECTF--    
-array(3) {
-  ["prop1"]=>
-  string(1) "1"
-  ["prop2"]=>
-  string(1) "2"
-  ["prop3"]=>
-  string(1) "3"
-}
-Done
---UEXPECTF--
 array(3) {
   [u"prop1"]=>
   unicode(1) "1"
index dfecf845cbe993a949d651688985ea0c0bfddd09..d0a2133900c37828a9ef6836939bbbffd79587ca 100644 (file)
@@ -16,14 +16,6 @@ var_dump($class->getDefaultProperties());
 echo "Done\n";
 ?>
 --EXPECTF--    
-array(2) {
-  ["fooStatic"]=>
-  string(3) "foo"
-  ["foo"]=>
-  string(3) "foo"
-}
-Done
---UEXPECTF--
 array(2) {
   [u"fooStatic"]=>
   unicode(3) "foo"
index 9576f4f5d2a6dfdf40ddac55d572cc82ecda43ec..cf4565d6961e1f0d2804af622b58627b3e2ef926 100644 (file)
@@ -24,19 +24,6 @@ var_dump($x);
 echo "Done\n";
 ?>
 --EXPECTF--    
-string(9) "x.changed"
-
-Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php on line 15
-
-Warning: Invocation of C's constructor failed in %sbug42976.php on line 15
-string(10) "x.original"
-
-Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php on line 18
-
-Warning: Invocation of C's constructor failed in %sbug42976.php on line 18
-string(10) "x.original"
-Done
---UEXPECTF--   
 unicode(9) "x.changed"
 
 Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php on line 15
index 23257f5c618efdfb3ac0e2f729c72d8526e1cd49..95bdb9e78728e08d91d2fc14c3281468c105f534 100644 (file)
@@ -65,23 +65,3 @@ Is? A false, instanceof: false
 Is? C false, instanceof: false
 Is? D false, instanceof: false
 Is? E true, instanceof: true
---UEXPECT--
-Is? A true, instanceof: true
-Is? C false, instanceof: false
-Is? D true, instanceof: true
-Is? E true, instanceof: true
--
-Is? A true, instanceof: true
-Is? C true, instanceof: true
-Is? D true, instanceof: true
-Is? E true, instanceof: true
--
-Is? A false, instanceof: false
-Is? C false, instanceof: false
-Is? D true, instanceof: true
-Is? E true, instanceof: true
--
-Is? A false, instanceof: false
-Is? C false, instanceof: false
-Is? D false, instanceof: false
-Is? E true, instanceof: true
index ba9054293148694bfa20dbdd137b8719e173fcb7..780c22d6e34144fc03db965334c7b6f4fd8bdba7 100755 (executable)
@@ -34,12 +34,5 @@ int(2)
 int(1)
 bool(false)
 bool(true)
-string(54) "The parameter specified by its name could not be found"
-===DONE===
---UEXPECT--
-int(2)
-int(1)
-bool(false)
-bool(true)
 unicode(54) "The parameter specified by its name could not be found"
 ===DONE===
index 7338c5cc8215d3d5fad4c1b0c9d21c21e4d42fe2..0432b23fc6c253a2395989d3e3e4ce070b412052 100755 (executable)
@@ -72,154 +72,6 @@ check_params(new ReflectionMethod('test::test'));
 --EXPECT--
 #####test()#####
 ===0===
-getName: string(3) "nix"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===1===
-getName: string(2) "ar"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(true)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===2===
-getName: string(3) "ref"
-isPassedByReference: bool(true)
-getClass: NULL
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===3===
-getName: string(3) "std"
-isPassedByReference: bool(false)
-getClass: stdClass
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===4===
-getName: string(2) "na"
-isPassedByReference: bool(false)
-Class NonExistingClass does not exist
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===5===
-getName: string(3) "opt"
-isPassedByReference: bool(true)
-getClass: stdClass
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(true)
-isDefaultValueAvailable: bool(true)
-getDefaultValue: NULL
-===6===
-getName: string(3) "def"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: NULL
-getDeclaringFunction: test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(true)
-isDefaultValueAvailable: bool(true)
-getDefaultValue: string(6) "FooBar"
-#####test::test()#####
-===0===
-getName: string(3) "nix"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===1===
-getName: string(2) "ar"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(true)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===2===
-getName: string(3) "ref"
-isPassedByReference: bool(true)
-getClass: NULL
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===3===
-getName: string(3) "std"
-isPassedByReference: bool(false)
-getClass: stdClass
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===4===
-getName: string(2) "na"
-isPassedByReference: bool(false)
-Class NonExistingClass does not exist
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(false)
-isOptional: bool(false)
-isDefaultValueAvailable: bool(false)
-===5===
-getName: string(3) "opt"
-isPassedByReference: bool(false)
-getClass: stdClass
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(true)
-isDefaultValueAvailable: bool(true)
-getDefaultValue: NULL
-===6===
-getName: string(3) "def"
-isPassedByReference: bool(false)
-getClass: NULL
-getDeclaringClass: test
-getDeclaringFunction: test::test()
-isArray: bool(false)
-allowsNull: bool(true)
-isOptional: bool(true)
-isDefaultValueAvailable: bool(true)
-getDefaultValue: string(6) "FooBar"
-===DONE===
---UEXPECT--
-#####test()#####
-===0===
 getName: unicode(3) "nix"
 isPassedByReference: bool(false)
 getClass: NULL
index b987da664b12272f904c33bc54b391fbf61a3958..08c543053ea5cafa16669b922fee291f08a9db96 100644 (file)
@@ -25,13 +25,6 @@ Class C {
 }
 ?>
 --EXPECTF--
-string(%d) "%sreflectionClass_FileInfo_basic.php"
-int(20)
-int(22)
-bool(false)
-bool(false)
-bool(false)
---UEXPECTF--
 unicode(%d) "%sreflectionClass_FileInfo_basic.php"
 int(20)
 int(22)
index 693af5d7c6c755778a1bda924249db47aed5482c..d60d0406bc59cd350a7f295cd73586ac158ffc97 100644 (file)
@@ -14,28 +14,6 @@ foreach ($methods as $method) {
 }
 ?>
 --EXPECTF--
-string(%d) "%s"
-
-Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 10
-NULL
-int(2)
-
-Warning: Wrong parameter count for ReflectionClass::getStartLine() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getStartLine() in %s on line 10
-NULL
-int(2)
-
-Warning: Wrong parameter count for ReflectionClass::getEndLine() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getEndLine() in %s on line 10
-NULL
---UEXPECTF--
 unicode(%d) "%s"
 
 Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 9
index 5d365c8a9a5d939b5e85880dc002a6f8475fd588..49501663bd31edf1f74aee1bd4533101e70b1183 100644 (file)
@@ -19,19 +19,6 @@ $r3 = new ReflectionClass($myTrickClass);
 var_dump($r1, $r2, $r3);
 ?>
 --EXPECTF--
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(8) "stdClass"
-}
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(8) "stdClass"
-}
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(10) "TrickClass"
-}
---UEXPECTF--
 object(ReflectionClass)#%d (1) {
   [u"name"]=>
   unicode(8) "stdClass"
index 059ef5e8e7580040e8930a3579c9d6e8781868ff..4dd5cd45d16e4cae780aa76c9ce9f87331a7e8b6 100644 (file)
@@ -47,29 +47,6 @@ try {
 ?>
 --EXPECTF--
 
-Warning: ReflectionClass::__construct() expects exactly 1 parameter, 0 given in %s on line 3
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-Class  does not exist
-Class 1 does not exist
-Class 1 does not exist
-
-Warning: ReflectionClass::__construct() expects parameter 1 to be string (Unicode or binary), array given in %s on line 27
-object(ReflectionClass)#3 (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionClass::__construct() expects exactly 1 parameter, 2 given in %s on line 33
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-Class X does not exist
---UEXPECTF--
-
 Warning: ReflectionClass::__construct() expects exactly 1 parameter, 0 given in %s on line 3
 object(ReflectionClass)#%d (1) {
   [u"name"]=>
index f1301fbb958d0c36dfa4da197066cb79961fa86d..ca16d87e77e7cee5855cf8053c801effc22b9d4a 100644 (file)
@@ -25,22 +25,6 @@ foreach($classes as $class) {
 ?>
 --EXPECTF--
 Reflecting on class C: 
-string(12) "hello from C"
-bool(false)
-Reflecting on class D: 
-string(12) "hello from C"
-bool(false)
-Reflecting on class E: 
-string(12) "hello from C"
-bool(false)
-Reflecting on class F: 
-string(12) "hello from F"
-bool(false)
-Reflecting on class X: 
-bool(false)
-bool(false)
---UEXPECTF--
-Reflecting on class C: 
 unicode(12) "hello from C"
 bool(false)
 Reflecting on class D: 
index f8a6deed6fb3c7cdc4c54f102b94e47990f5a7f8..88ee139f35f45bd0fba2c93173c3078d973410e5 100644 (file)
@@ -35,21 +35,3 @@ NULL
 
 Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), object given in %s on line 15
 NULL
---UEXPECTF--
-Check invalid params:
-
-Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 0 given in %s on line 8
-NULL
-
-Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 2 given in %s on line 9
-NULL
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
-Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), array given in %s on line 14
-NULL
-
-Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), object given in %s on line 15
-NULL
index e01c1800afbc5a7ac2f649231a7b8df8363b7346..c1baeaaf99f96852d429d0238cc6c02f6c5fffe0 100644 (file)
@@ -24,30 +24,6 @@ foreach($classes as $class) {
 ?>
 --EXPECTF--
 Constants from class C: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Constants from class D: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Constants from class E: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Constants from class F: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from F"
-}
-Constants from class X: 
-array(0) {
-}
---UEXPECTF--
-Constants from class C: 
 array(1) {
   [u"a"]=>
   unicode(12) "hello from C"
index 5d724197fba3f6f2e69e71a998496e39f0bded38..73c407d656713f1adafbc1796e0059038f357578 100644 (file)
@@ -22,11 +22,3 @@ Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line
 Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 10
 
 Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 11
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 8
-
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 9
-
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 10
-
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 11
index badda550dee7f0a61ac8414c639ccdb19374f3ca..264f7d986dcfc68abffcda37a4363a86f3ae85b9 100644 (file)
@@ -11,6 +11,4 @@ Rein Velt <rein@velt.org>
        var_dump( $rc->getExtensionName()) ;
 ?>
 --EXPECT--
-string(3) "dom"
---UEXPECT--
-unicode(3) "dom"
\ No newline at end of file
+unicode(3) "dom"
index 05fc9f5a33df5671c2c57ffb72a668e232869500..5544613db99f6012ede5a95cbaef4dc6de764da0 100644 (file)
@@ -9,11 +9,6 @@ Rein Velt <rein@velt.org>
        var_dump($rc->getExtension()) ;
 ?>
 --EXPECTF--
-object(ReflectionExtension)#%d (1) {
-  ["name"]=>
-  string(3) "dom"
-}
---UEXPECTF--
 object(ReflectionExtension)#%d (1) {
   [u"name"]=>
   unicode(3) "dom"
index 519b543d1575b3d4d5657d96c947ac986b78f5f2..0ba1831b9ddf111f2d730dbe4dbeca4d91ba2231 100644 (file)
@@ -15,16 +15,9 @@ $rc1 = new ReflectionClass("Baz");
 var_dump($rc1->getInterfaceNames());
 ?>
 --EXPECT--
-array(2) {
-  [0]=>
-  string(3) "Foo"
-  [1]=>
-  string(3) "Bar"
-}
---UEXPECT--
 array(2) {
   [0]=>
   unicode(3) "Foo"
   [1]=>
   unicode(3) "Bar"
-}
\ No newline at end of file
+}
index 2e6d78f458c35cb253e801d88e85f3acd10656a8..0aa98e0097873835074041e9b2440561fd225f16 100644 (file)
@@ -20,10 +20,6 @@ var_dump($r1->getName(), $r2->getName(), $r3->getName());
 
 ?> 
 --EXPECTF--
-string(8) "stdClass"
-string(8) "stdClass"
-string(10) "TrickClass"
---UEXPECTF--
 unicode(8) "stdClass"
 unicode(8) "stdClass"
 unicode(10) "TrickClass"
index 4dcf8f553214b84e6076a69819915df5c54e7ce7..6f5699c931d718ee6ec7ea818a5c75aa888dfeef 100644 (file)
@@ -14,10 +14,4 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 6
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 5
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 6
-NULL
  
index de1f4aec24f7b06d5a4dc1ee73417c25215c0998..5590137f894c8813dae9154f3684385d8d2ab7ff 100644 (file)
@@ -6,5 +6,3 @@ ReflectionClass::getName();
 ?>
 --EXPECTF--
 Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
---UEXPECTF--
-Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
index 32c01aeafdc481dbf1f4fc1c6f2b6c353005da43..6061dc3e50b985e67dbbf6425e930350c73d33b5 100644 (file)
@@ -13,12 +13,7 @@ $rc1 = new ReflectionClass("Bar");
 var_dump($rc1->getParentClass());
 ?>
 --EXPECTF--
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(3) "Foo"
-}
---UEXPECTF--
 object(ReflectionClass)#%d (1) {
   [u"name"]=>
   unicode(3) "Foo"
-}
\ No newline at end of file
+}
index d221cbd3a063be56507aec8ec576b43fd4852d2f..2da09449ff261ed9d9559af0c228fac7fbe5a759 100644 (file)
@@ -49,24 +49,3 @@ is myA a X? bool(false)
 is myB a X? bool(false)
 is myC a X? bool(false)
 is myX a X? bool(true)
---UEXPECTF--
-is myA a A? bool(true)
-is myB a A? bool(true)
-is myC a A? bool(false)
-is myX a A? bool(false)
-is myA a B? bool(false)
-is myB a B? bool(true)
-is myC a B? bool(false)
-is myX a B? bool(false)
-is myA a C? bool(false)
-is myB a C? bool(false)
-is myC a C? bool(true)
-is myX a C? bool(false)
-is myA a I? bool(false)
-is myB a I? bool(false)
-is myC a I? bool(true)
-is myX a I? bool(false)
-is myA a X? bool(false)
-is myB a X? bool(false)
-is myC a X? bool(false)
-is myX a X? bool(true)
index 1b0a605235fe7ea294b2380db9d5ae913ed0e2c1..486c3b85989082c3c097e2f0d4de41a1b3409776 100644 (file)
@@ -32,27 +32,6 @@ NULL
 Warning: ReflectionClass::isInstance() expects parameter 1 to be object, boolean given in %s on line 11
 NULL
 
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, string given in %s on line 12
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, null given in %s on line 13
-NULL
---UEXPECTF--
-Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 0 given in %s on line 7
-NULL
-
-Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 2 given in %s on line 8
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, %s given in %s on line 9
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, double given in %s on line 10
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, boolean given in %s on line 11
-NULL
-
 Warning: ReflectionClass::isInstance() expects parameter 1 to be object, Unicode string given in %s on line 12
 NULL
 
index 69d814c8af5d4751c99926bbfa11a350e8f637fc..6ebcfa99a9e29ece4773e8eae8e4ec50ea527b12 100644 (file)
@@ -38,9 +38,3 @@ Is iface instantiable?  bool(false)
 Is ifaceImpl instantiable?  bool(true)
 Is abstractClass instantiable?  bool(false)
 Is D instantiable?  bool(true)
---UEXPECTF--
-Is C instantiable?  bool(true)
-Is iface instantiable?  bool(false)
-Is ifaceImpl instantiable?  bool(true)
-Is abstractClass instantiable?  bool(false)
-Is D instantiable?  bool(true)
index 5e7896785e16ad1ce35f61575b7f0a614be3f467..cc31a2f42c3c8932e24b69c9156435e561c0b6eb 100644 (file)
@@ -17,9 +17,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 8
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 7
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 8
-NULL
index 50c5e58b507f657a355aa65317e4529501e15cb4..1cf3e613e81e5d63651c69bc4bf058955299dcfc 100644 (file)
@@ -48,11 +48,3 @@ Is privateCtorNew instantiable?  bool(false)
 Is publicCtorOld instantiable?  bool(true)
 Is protectedCtorOld instantiable?  bool(false)
 Is privateCtorOld instantiable?  bool(false)
---UEXPECTF--
-Is noCtor instantiable?  bool(true)
-Is publicCtorNew instantiable?  bool(true)
-Is protectedCtorNew instantiable?  bool(false)
-Is privateCtorNew instantiable?  bool(false)
-Is publicCtorOld instantiable?  bool(true)
-Is protectedCtorOld instantiable?  bool(false)
-Is privateCtorOld instantiable?  bool(false)
index 3b7ba4fd7b123b9d75db7dbe15a1cc335cb7bc93..2eaacb67f8682cad8f8dcfc3c9e04211af11286a 100644 (file)
@@ -20,9 +20,3 @@ bool(true)
 bool(true)
 bool(true)
 bool(false)
---UEXPECTF--
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(false)
index b8ab16f13fc9cf9d56c795691434888bb3e60187..b1117e8304aca16a72eabedf9d537f20e045661b 100644 (file)
@@ -12,9 +12,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 4
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 3
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 4
-NULL
index b50aab71d1e5611e329a65dd3c4947b1cd298cd0..94fcf00ece9df3cfb540f703e9f32fa36d580ba1 100644 (file)
@@ -101,79 +101,3 @@ Is X a subclass of I?
 Is X a subclass of X? 
    - Using object argument: bool(false)
    - Using string argument: bool(false)
---UEXPECTF--
-Is A a subclass of A? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of B? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of C? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of I? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of X? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of A? 
-   - Using object argument: bool(true)
-   - Using string argument: bool(true)
-Is B a subclass of B? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of C? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of I? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of X? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of A? 
-   - Using object argument: bool(true)
-   - Using string argument: bool(true)
-Is C a subclass of B? 
-   - Using object argument: bool(true)
-   - Using string argument: bool(true)
-Is C a subclass of C? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of I? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of X? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is I a subclass of A? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is I a subclass of B? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is I a subclass of C? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is I a subclass of I? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is I a subclass of X? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of A? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of B? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of C? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of I? 
-   - Using object argument: bool(true)
-   - Using string argument: bool(true)
-Is X a subclass of X? 
-   - Using object argument: bool(false)
-   - Using string argument: bool(false)
index 732a34413b8840f8320466346ee963d5fd416225..7d929fafd7758dc9f233ba2cc3389a7f72a8e9e2 100644 (file)
@@ -15,9 +15,3 @@ NULL
 
 Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 2 given in %s on line 6
 NULL
---UEXPECTF--
-Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 0 given in %s on line 5
-NULL
-
-Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 2 given in %s on line 6
-NULL
index 71c3d700cf2f1aeb8c893276f2edd216053fa3ec..2fabd023e64ad191c250ddebb9d34c2b697e32fd 100644 (file)
@@ -14,9 +14,3 @@ Stack trace:
 #0 %s(5): ReflectionClass->isSubclassOf('X')
 #1 {main}
   thrown in %s on line 5
---UEXPECTF--
-Fatal error: Uncaught exception 'ReflectionException' with message 'Class X does not exist' in %s:5
-Stack trace:
-#0 %s(5): ReflectionClass->isSubclassOf('X')
-#1 {main}
-  thrown in %s on line 5
index 56d427f39c9103ad743f6cf45ba613b32a3f8efd..af43fcefa4fa052d68a859afcd4763c8ccaf3757 100644 (file)
@@ -20,9 +20,3 @@ bool(false)
 bool(false)
 bool(false)
 bool(true)
---UEXPECTF--
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(true)
index d4aa1774af588103d8be95e0ddcce700c76ec6ee..077e4d6a6dbfff149c19b7f7b4ab51de585b915e 100644 (file)
@@ -12,9 +12,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 4
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 3
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 4
-NULL
index d137ed5aaa53988e3de1b0a8b2c9f65bc65898f0..57a42fba4bfceb7be2c17c1bf975ab3c9418b258 100644 (file)
@@ -17,13 +17,6 @@ Class C {
 }
 ?>
 --EXPECTF--
-string(%d) "%sreflectionObject_FileInfo_basic.php"
-int(12)
-int(14)
-bool(false)
-bool(false)
-bool(false)
---UEXPECTF--
 unicode(%d) "%sreflectionObject_FileInfo_basic.php"
 int(12)
 int(14)
index 299a42e157d210c6903f879f5cfcc4edd42e593b..e932c8ad546854b0fe88a0af4259a5d046aaaace 100644 (file)
@@ -14,28 +14,6 @@ foreach ($methods as $method) {
 }
 ?>
 --EXPECTF--
-string(%d) "%s"
-
-Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 10
-NULL
-int(2)
-
-Warning: Wrong parameter count for ReflectionClass::getStartLine() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getStartLine() in %s on line 10
-NULL
-int(2)
-
-Warning: Wrong parameter count for ReflectionClass::getEndLine() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getEndLine() in %s on line 10
-NULL
---UEXPECTF--
 unicode(%d) "%s"
 
 Warning: Wrong parameter count for ReflectionClass::getFileName() in %s on line 9
index 60f6b78f2352e1ed08492b8ddc42f3d1db08fdd6..fcad71b63d2252e6825e9afa2116cda8be959d0c 100644 (file)
@@ -14,19 +14,6 @@ $r3 = new ReflectionObject($r2);
 var_dump($r3);
 ?>
 --EXPECTF--
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(8) "stdClass"
-}
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(1) "C"
-}
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(16) "ReflectionObject"
-}
---UEXPECTF--
 object(ReflectionObject)#%d (1) {
   [u"name"]=>
   unicode(8) "stdClass"
index 892aa82dc3bba11f8caaeb722063088fa3cde87f..254f0db41abf1d1bceacbe848701ba6ebd4e47c8 100644 (file)
@@ -13,42 +13,6 @@ var_dump(new ReflectionObject(array(1,2)));
 ?>
 --EXPECTF--
 Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 3
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionObject::__construct() expects parameter 1 to be object, string given in %s on line 4
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionObject::__construct() expects exactly 1 parameter, 2 given in %s on line 6
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionObject::__construct() expects parameter 1 to be object, integer given in %s on line 7
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionObject::__construct() expects parameter 1 to be object, null given in %s on line 8
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
-
-Warning: ReflectionObject::__construct() expects parameter 1 to be object, array given in %s on line 9
-object(ReflectionObject)#%d (1) {
-  ["name"]=>
-  string(0) ""
-}
---UEXPECTF--
-Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 3
 object(ReflectionObject)#%d (1) {
   [u"name"]=>
   unicode(0) ""
index 151859983d63ffda338230ec2abd3aa4a037a074..a6203d093fb59396be63de0ec7159db2faf09340 100644 (file)
@@ -25,22 +25,6 @@ foreach($classes as $class) {
 ?>
 --EXPECTF--
 Reflecting on instance of class C: 
-string(12) "hello from C"
-bool(false)
-Reflecting on instance of class D: 
-string(12) "hello from C"
-bool(false)
-Reflecting on instance of class E: 
-string(12) "hello from C"
-bool(false)
-Reflecting on instance of class F: 
-string(12) "hello from F"
-bool(false)
-Reflecting on instance of class X: 
-bool(false)
-bool(false)
---UEXPECTF--
-Reflecting on instance of class C: 
 unicode(12) "hello from C"
 bool(false)
 Reflecting on instance of class D: 
index d16132b2020f4fc06bf08ad5f59ed26f89ff5ad1..b51a10bcb1cb4c8db5f040b99207c339488f90fd 100644 (file)
@@ -32,19 +32,3 @@ NULL
 
 Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), object given in %s on line 14
 NULL
---UEXPECTF--
-Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 0 given in %s on line 7
-NULL
-
-Warning: ReflectionClass::getConstant() expects exactly 1 parameter, 2 given in %s on line 8
-NULL
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
-Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), array given in %s on line 13
-NULL
-
-Warning: ReflectionClass::getConstant() expects parameter 1 to be string (Unicode or binary), object given in %s on line 14
-NULL
index 68bc5d6b8baacd4d5526d0dd98243e7809e9c40e..7073a716000067d5ef38f248fd3a133362ed9c78 100644 (file)
@@ -25,30 +25,6 @@ foreach($classes as $class) {
 ?>
 --EXPECTF--
 Reflecting on instance of class C: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Reflecting on instance of class D: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Reflecting on instance of class E: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from C"
-}
-Reflecting on instance of class F: 
-array(1) {
-  ["a"]=>
-  string(12) "hello from F"
-}
-Reflecting on instance of class X: 
-array(0) {
-}
---UEXPECTF--
-Reflecting on instance of class C: 
 array(1) {
   [u"a"]=>
   unicode(12) "hello from C"
index 0d16c17f0bb8f44b1e9f694c9b9f31893451927f..81ec9ed2ed26dbbc2bb2a49ed9a2e787923f626c 100644 (file)
@@ -15,8 +15,4 @@ $rc->getConstants(true);
 Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 7
 
 Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 8
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 7
-
-Warning: Wrong parameter count for ReflectionClass::getConstants() in %s on line 8
 
index 5014f471001725dc6935359ed1b778164814baf2..a784f6d9e0d00b67555db4cef5accd0958104f70 100644 (file)
@@ -80,20 +80,3 @@ Constructor of D1: __construct
 Constructor of D2: C
 No constructor for X
 No constructor for Y
---UEXPECTF--
-
-Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line 26
-
-Strict Standards: %s for class NewAndOldCtor in %s on line 31
-Constructor of NewCtor: __construct
-Constructor of ExtendsNewCtor: __construct
-Constructor of OldCtor: OldCtor
-Constructor of ExtendsOldCtor: OldCtor
-Constructor of OldAndNewCtor: __construct
-Constructor of NewAndOldCtor: __construct
-Constructor of B: B
-Constructor of C: C
-Constructor of D1: __construct
-Constructor of D2: C
-No constructor for X
-No constructor for Y
index 73ac55f06ca8c6c1f9ea516be8dd078cf2572f3a..5cabc2ed10e266ba1d621a20612a3b520529ee73 100644 (file)
@@ -22,16 +22,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 7
 NULL
---UEXPECTF--
-
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 4
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 5
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 6
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 7
-NULL
index c3fc65c96db23003890b24118d97b67171bf3a12..7c0f0ba5f16e161b7ee9e846a77359a689ff0fd7 100644 (file)
@@ -19,13 +19,6 @@ var_dump($r3->getName());
 ?>
 --EXPECTF--
 
-Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 2
-string(0) ""
-string(8) "stdClass"
-string(1) "C"
-string(16) "ReflectionObject"
---UEXPECTF--
-
 Warning: ReflectionObject::__construct() expects exactly 1 parameter, 0 given in %s on line 2
 unicode(0) ""
 unicode(8) "stdClass"
index a636ddc8352ac86976e692ca3e27b3675d946fb5..eb64244c1584bacfb2e0a37e0b5aa94ab6454de6 100644 (file)
@@ -21,12 +21,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 10
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 8
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 9
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::getName() in %s on line 10
-NULL
index 1622683285148482c8216e965776527e66545398..26c342d7f46b209a64f00f20cb0571c1912297d3 100644 (file)
@@ -6,5 +6,3 @@ ReflectionObject::getName();
 ?> 
 --EXPECTF--
 Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
---UEXPECTF--
-Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
index 5b4c97a59ca55d7a023653e67a216ceebf9fcd86..ef605aad843cf8c381ad7467f7e9ef1f076ecc0b 100644 (file)
@@ -31,13 +31,3 @@ is myX a B? bool(false)
 is myA a X? bool(false)
 is myB a X? bool(false)
 is myX a X? bool(true)
---UEXPECTF--
-is myA a A? bool(true)
-is myB a A? bool(true)
-is myX a A? bool(false)
-is myA a B? bool(false)
-is myB a B? bool(true)
-is myX a B? bool(false)
-is myA a X? bool(false)
-is myB a X? bool(false)
-is myX a X? bool(true)
index a24a1f5141c43eb3808f09fbf9799c99e61200ea..9c0af725509c7d8fd569196cd0ab1b79ddc92b15 100644 (file)
@@ -31,27 +31,6 @@ NULL
 Warning: ReflectionClass::isInstance() expects parameter 1 to be object, boolean given in %s on line 10
 NULL
 
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, string given in %s on line 11
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, null given in %s on line 12
-NULL
---UEXPECTF--
-Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 0 given in %s on line 6
-NULL
-
-Warning: ReflectionClass::isInstance() expects exactly 1 parameter, 2 given in %s on line 7
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, integer given in %s on line 8
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, double given in %s on line 9
-NULL
-
-Warning: ReflectionClass::isInstance() expects parameter 1 to be object, boolean given in %s on line 10
-NULL
-
 Warning: ReflectionClass::isInstance() expects parameter 1 to be object, Unicode string given in %s on line 11
 NULL
 
index 0966359dbf342075864a892f82021891edc39bda..4b8a6ec221c85aed99fb4935bd4fb54b4a3ade8c 100644 (file)
@@ -34,7 +34,3 @@ foreach($classes  as $class ) {
 Is C instantiable?  bool(true)
 Is ifaceImpl instantiable?  bool(true)
 Is D instantiable?  bool(true)
---UEXPECTF--
-Is C instantiable?  bool(true)
-Is ifaceImpl instantiable?  bool(true)
-Is D instantiable?  bool(true)
index 04ff50b7e5e10756a15e43ed299585cdc48f1bb7..8f418ac0e665395a57da8dc3ef44e0170125daf1 100644 (file)
@@ -20,9 +20,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 11
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 10
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isInstantiable() in %s on line 11
-NULL
index 3f5d57ce4c88770ef345baa20ea04f9ab1b7d0e6..ac7199c096cf9b87d5701ca556a297fc975f5cea 100644 (file)
@@ -76,11 +76,3 @@ Is privateCtorNew instantiable? bool(false)
 Is publicCtorOld instantiable? bool(true)
 Is protectedCtorOld instantiable? bool(false)
 Is privateCtorOld instantiable? bool(false)
---UEXPECTF--
-Is noCtor instantiable? bool(true)
-Is publicCtorNew instantiable? bool(true)
-Is protectedCtorNew instantiable? bool(false)
-Is privateCtorNew instantiable? bool(false)
-Is publicCtorOld instantiable? bool(true)
-Is protectedCtorOld instantiable? bool(false)
-Is privateCtorOld instantiable? bool(false)
index 21612518046791e053f8a492280a525d39dd904f..066bca70ee5add2b05628123d77a46afe068429c 100644 (file)
@@ -21,9 +21,3 @@ bool(true)
 bool(true)
 bool(true)
 bool(false)
---UEXPECTF--
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(false)
index 0ac2d21f5e3e815298ea675769039a7e91d4c4d9..c22d74807293827a9ba56de3d89ae71f44a4ee28 100644 (file)
@@ -13,9 +13,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 5
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 4
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isInternal() in %s on line 5
-NULL
index 5687d381ec060ecfd2debe6db50f811f81120e34..e89066a7eaa1fd564ac9193e610b9be34502de29 100644 (file)
@@ -114,80 +114,3 @@ Is X a subclass of X?
    - Using ReflectionClass object argument: bool(false)
    - Using ReflectionObject object argument: bool(false)
    - Using string argument: bool(false)
---UEXPECTF--
-Is A a subclass of A? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of B? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of C? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of I? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using string argument: bool(false)
-Is A a subclass of X? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of A? 
-   - Using ReflectionClass object argument: bool(true)
-   - Using ReflectionObject object argument: bool(true)
-   - Using string argument: bool(true)
-Is B a subclass of B? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of C? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of I? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using string argument: bool(false)
-Is B a subclass of X? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of A? 
-   - Using ReflectionClass object argument: bool(true)
-   - Using ReflectionObject object argument: bool(true)
-   - Using string argument: bool(true)
-Is C a subclass of B? 
-   - Using ReflectionClass object argument: bool(true)
-   - Using ReflectionObject object argument: bool(true)
-   - Using string argument: bool(true)
-Is C a subclass of C? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of I? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using string argument: bool(false)
-Is C a subclass of X? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of A? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of B? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of C? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
-Is X a subclass of I? 
-   - Using ReflectionClass object argument: bool(true)
-   - Using string argument: bool(true)
-Is X a subclass of X? 
-   - Using ReflectionClass object argument: bool(false)
-   - Using ReflectionObject object argument: bool(false)
-   - Using string argument: bool(false)
index 61db821a4e69666da5aeac37053e1498cb48ac15..9387b7dcb330f7662cb3b603990aa551fe9ccf0f 100644 (file)
@@ -17,18 +17,6 @@ NULL
 Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 2 given in %s on line 6
 NULL
 
-Fatal error: Uncaught exception 'ReflectionException' with message 'Class X does not exist' in %s:7
-Stack trace:
-#0 %s(7): ReflectionClass->isSubclassOf('X')
-#1 {main}
-  thrown in %s on line 7
---UEXPECTF--
-Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 0 given in %s on line 5
-NULL
-
-Warning: ReflectionClass::isSubclassOf() expects exactly 1 parameter, 2 given in %s on line 6
-NULL
-
 Fatal error: Uncaught exception 'ReflectionException' with message 'Class X does not exist' in %s:7
 Stack trace:
 #0 %s(7): ReflectionClass->isSubclassOf('X')
index 7861b49855822de311a193f3b5bc92acea65d65b..4cb08fcb671c5a51b6497f22a01eed3724000477 100644 (file)
@@ -21,9 +21,3 @@ bool(false)
 bool(false)
 bool(false)
 bool(true)
---UEXPECTF--
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(true)
index eecccc420c5216e84c535af8bb36e567e68f9cca..70533cf3d6ec8a225394d87c54301039213af4f0 100644 (file)
@@ -13,9 +13,3 @@ NULL
 
 Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 5
 NULL
---UEXPECTF--
-Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 4
-NULL
-
-Warning: Wrong parameter count for ReflectionClass::isUserDefined() in %s on line 5
-NULL
index 660cee5ebe7aee68a2f70710b7a38c1c39c6f388..b27d45dcb48f66ff8b5ab608d846994fa4b85c3b 100644 (file)
@@ -51,115 +51,6 @@ reflectProperty("TestClass", "priv");
 **********************************
 Reflecting on property TestClass::pub
 
-__toString():
-string(35) "Property [ <default> public $pub ]
-"
-export():
-string(35) "Property [ <default> public $pub ]
-"
-export():
-Property [ <default> public $pub ]
-
-NULL
-getName():
-string(3) "pub"
-isPublic():
-bool(true)
-isPrivate():
-bool(false)
-isProtected():
-bool(false)
-isStatic():
-bool(false)
-getValue():
-NULL
-getValue() after a setValue():
-string(8) "NewValue"
-
-**********************************
-**********************************
-Reflecting on property TestClass::stat
-
-__toString():
-string(33) "Property [ public static $stat ]
-"
-export():
-string(33) "Property [ public static $stat ]
-"
-export():
-Property [ public static $stat ]
-
-NULL
-getName():
-string(4) "stat"
-isPublic():
-bool(true)
-isPrivate():
-bool(false)
-isProtected():
-bool(false)
-isStatic():
-bool(true)
-getValue():
-string(15) "static property"
-getValue() after a setValue():
-string(8) "NewValue"
-
-**********************************
-**********************************
-Reflecting on property TestClass::prot
-
-__toString():
-string(39) "Property [ <default> protected $prot ]
-"
-export():
-string(39) "Property [ <default> protected $prot ]
-"
-export():
-Property [ <default> protected $prot ]
-
-NULL
-getName():
-string(4) "prot"
-isPublic():
-bool(false)
-isPrivate():
-bool(false)
-isProtected():
-bool(true)
-isStatic():
-bool(false)
-
-**********************************
-**********************************
-Reflecting on property TestClass::priv
-
-__toString():
-string(37) "Property [ <default> private $priv ]
-"
-export():
-string(37) "Property [ <default> private $priv ]
-"
-export():
-Property [ <default> private $priv ]
-
-NULL
-getName():
-string(4) "priv"
-isPublic():
-bool(false)
-isPrivate():
-bool(true)
-isProtected():
-bool(false)
-isStatic():
-bool(false)
-
-**********************************
---UEXPECT--
-**********************************
-Reflecting on property TestClass::pub
-
 __toString():
 unicode(35) "Property [ <default> public $pub ]
 "
index e69c426bdaf177a8d6dc3bf8a9fec37f13560809..29d288730cc7a8268a1d64304da3ee849fd0ce59 100644 (file)
@@ -38,73 +38,6 @@ reflectProperty("TestClass", "priv");
 **********************************
 Reflecting on property TestClass::pub
 
-isDefault():
-bool(true)
-getModifiers():
-int(256)
-getDeclaringClass():
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(9) "TestClass"
-}
-getDocComment():
-bool(false)
-
-**********************************
-**********************************
-Reflecting on property TestClass::stat
-
-isDefault():
-bool(true)
-getModifiers():
-int(257)
-getDeclaringClass():
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(9) "TestClass"
-}
-getDocComment():
-bool(false)
-
-**********************************
-**********************************
-Reflecting on property TestClass::prot
-
-isDefault():
-bool(true)
-getModifiers():
-int(512)
-getDeclaringClass():
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(9) "TestClass"
-}
-getDocComment():
-string(%d) "/**
-     * This property has a comment.
-     */"
-
-**********************************
-**********************************
-Reflecting on property TestClass::priv
-
-isDefault():
-bool(true)
-getModifiers():
-int(1024)
-getDeclaringClass():
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(9) "TestClass"
-}
-getDocComment():
-bool(false)
-
-**********************************
---UEXPECTF--
-**********************************
-Reflecting on property TestClass::pub
-
 isDefault():
 bool(true)
 getModifiers():
index ffafce62b360ef08134223237ddbad1d0d4590c7..b7822ea796198972e99f9aa5ce0f7eed01788c6b 100644 (file)
@@ -22,51 +22,6 @@ var_dump($rp->isDefault(1));
 ?>
 --EXPECTF--
 Warning: ReflectionProperty::__construct() expects exactly 2 parameters, 0 given in %s on line %d
-object(ReflectionProperty)#%d (2) {
-  ["name"]=>
-  string(0) ""
-  ["class"]=>
-  string(0) ""
-}
-
-Warning: ReflectionProperty::__construct() expects exactly 2 parameters, 1 given in %s on line %d
-object(ReflectionProperty)#%d (2) {
-  ["name"]=>
-  string(0) ""
-  ["class"]=>
-  string(0) ""
-}
-
-Warning: ReflectionProperty::__construct() expects exactly 2 parameters, 3 given in %s on line %d
-object(ReflectionProperty)#%d (2) {
-  ["name"]=>
-  string(0) ""
-  ["class"]=>
-  string(0) ""
-}
-
-Warning: Wrong parameter count for ReflectionProperty::getName() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::isPrivate() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::isProtected() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::isPublic() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::isStatic() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::getModifiers() in %s on line %d
-NULL
-
-Warning: Wrong parameter count for ReflectionProperty::isDefault() in %s on line %d
-NULL
---UEXPECTF--
-Warning: ReflectionProperty::__construct() expects exactly 2 parameters, 0 given in %s on line %d
 object(ReflectionProperty)#%d (2) {
   [u"name"]=>
   unicode(0) ""
@@ -109,4 +64,4 @@ Warning: Wrong parameter count for ReflectionProperty::getModifiers() in %s on l
 NULL
 
 Warning: Wrong parameter count for ReflectionProperty::isDefault() in %s on line %d
-NULL
\ No newline at end of file
+NULL
index 7fa747732ce0200d5e3ce89eed669ab7c6420d5c..bfc88a31745d5bfc28b3a91a279c7da123c28942 100644 (file)
@@ -18,18 +18,10 @@ $propInfo->getDeclaringClass(1);
 
 ?> 
 --EXPECTF--
-object(ReflectionClass)#%d (1) {
-  ["name"]=>
-  string(1) "A"
-}
-Wrong number of params:
-
-Warning: Wrong parameter count for ReflectionProperty::getDeclaringClass() in %s on line %d
---UEXPECTF--
 object(ReflectionClass)#%d (1) {
   [u"name"]=>
   unicode(1) "A"
 }
 Wrong number of params:
 
-Warning: Wrong parameter count for ReflectionProperty::getDeclaringClass() in %s on line %d
\ No newline at end of file
+Warning: Wrong parameter count for ReflectionProperty::getDeclaringClass() in %s on line %d
index 6ed34ea547a55d0a02c022932d0dd778df231d56..b342527c51bf7acc4d940aef8a28826c8717623b 100644 (file)
@@ -41,64 +41,6 @@ foreach(array('A', 'B') as $class) {
 ?>
 --EXPECTF--
 
----> Doc comment for A::$a:
-string(%d) "/**
-     * My Doc Comment for $a
-     *
-     */"
-
-
----> Doc comment for A::$b:
-bool(false)
-
-
----> Doc comment for A::$c:
-bool(false)
-
-
----> Doc comment for A::$d:
-string(%d) "/**
-     * My Doc Comment for $d
-     */"
-
-
----> Doc comment for A::$e:
-bool(false)
-
-
----> Doc comment for A::$f:
-string(%d) "/**
-     * Doc comment for $f
-     */"
-
-
----> Doc comment for B::$a:
-bool(false)
-
-
----> Doc comment for B::$b:
-string(%d) "/** A doc comment for $b */"
-
-
----> Doc comment for B::$c:
-bool(false)
-
-
----> Doc comment for B::$e:
-string(%d) "/** A doc comment for $e */"
-
-
----> Doc comment for B::$d:
-string(%d) "/**
-     * My Doc Comment for $d
-     */"
-
-
----> Doc comment for B::$f:
-string(%d) "/**
-     * Doc comment for $f
-     */"
---UEXPECT--
 ---> Doc comment for A::$a:
 unicode(47) "/**
      * My Doc Comment for $a
index eae1db03a8463af8c0919b4fcf3f9626145e4855..07526aded3c2e0cb488446d8fd83bfad3ff102e0 100644 (file)
@@ -68,35 +68,6 @@ NULL
 
 Instance without property:
 
-Static property / too many args:
-string(15) "static property"
-
-Static property / wrong type of arg:
-string(15) "static property"
-
-Protected property:
-Cannot access non-public member TestClass::prot
-
-Instance without property:
-NULL
---UEXPECTF--
-Too few args:
-
-Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Too many args:
-
-Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-
-Wrong type of arg:
-
-Warning: ReflectionProperty::getValue() expects parameter 1 to be object, boolean given in %s on line %d
-NULL
-
-Instance without property:
-
 Static property / too many args:
 unicode(15) "static property"
 
@@ -108,4 +79,4 @@ Cannot access non-public member TestClass::prot
 
 Instance without property:
 NULL
-  
\ No newline at end of file
+  
index fd8c566dc8c686c5c071e005579ae66f8e78d4be..14084a44f4099563aa3506383bc8181ef77363e9 100644 (file)
@@ -80,48 +80,6 @@ Static property / too many args:
 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Static property / too few args:
-NULL
-string(11) "A new value"
-
-Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-string(11) "A new value"
-
-Static property / wrong type of arg:
-NULL
-string(17) "Another new value"
-
-Protected property:
-Cannot access non-public member TestClass::prot
-
-Instance without property:
-NULL
-string(8) "NewValue"
---UEXPECTF--
-Too few args:
-
-Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Too many args:
-
-Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Wrong type of arg:
-
-Warning: ReflectionProperty::setValue() expects parameter 1 to be object, boolean given in %s on line %d
-NULL
-
-Static property / too many args:
-
-Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
 Static property / too few args:
 NULL
 unicode(11) "A new value"
@@ -140,4 +98,4 @@ Cannot access non-public member TestClass::prot
 Instance without property:
 NULL
 unicode(8) "NewValue"
-  
\ No newline at end of file
+