diff options
Diffstat (limited to 'tests/classes/type_hinting_002.phpt')
-rwxr-xr-x | tests/classes/type_hinting_002.phpt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/classes/type_hinting_002.phpt b/tests/classes/type_hinting_002.phpt deleted file mode 100755 index 4cb75b1b8f..0000000000 --- a/tests/classes/type_hinting_002.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -ZE2 class type hinting non existing class ---SKIPIF-- -<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> ---FILE-- -<?php - -class Foo { - function a(NonExisting $foo) {} -} - -$o = new Foo; -$o->a($o); -?> ---EXPECTF-- - -Fatal error: Class 'NonExisting' not found in %stype_hinting_002.php on line %d |