Browse Source

- Synced old changes

experimental/first_unicode_implementation
Felipe Pena 17 years ago
parent
commit
e595ebf5e5
  1. 3
      Zend/tests/objects_002.phpt
  2. 3
      Zend/tests/objects_003.phpt
  3. 3
      Zend/tests/objects_004.phpt
  4. 3
      Zend/tests/objects_005.phpt
  5. 3
      Zend/tests/objects_006.phpt
  6. 3
      Zend/tests/objects_007.phpt
  7. 3
      Zend/tests/objects_008.phpt
  8. 3
      Zend/tests/objects_009.phpt
  9. 2
      Zend/zend_compile.c

3
Zend/tests/objects_002.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_003.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_004.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_005.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_006.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_007.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_008.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

3
Zend/tests/objects_009.phpt

@ -20,4 +20,5 @@ class test3 extends test {
echo "Done\n";
?>
--EXPECTF--
Fatal error: Declaration of test3::foo() must be compatible with that of test::foo() in %s on line %d
Strict Standards: Declaration of test3::foo() should be compatible with that of test::foo() in %s on line %d
Done

2
Zend/zend_compile.c

@ -2727,7 +2727,7 @@ static zend_bool do_inherit_method_check(HashTable *child_function_table, zend_f
child->common.prototype = parent->common.prototype ? parent->common.prototype : parent;
}
if (child->common.prototype) {
if (child->common.prototype && (child->common.prototype->common.fn_flags & ZEND_ACC_ABSTRACT)) {
if (!zend_do_perform_implementation_check(child, child->common.prototype TSRMLS_CC)) {
zend_error(E_COMPILE_ERROR, "Declaration of %v::%v() must be compatible with that of %v::%v()", ZEND_FN_SCOPE_NAME(child), child->common.function_name, ZEND_FN_SCOPE_NAME(child->common.prototype), child->common.prototype->common.function_name);
}

Loading…
Cancel
Save