|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2011-07-02 13:39 UTC] felipe@php.net
 
-Status: Open
+Status: Bogus
  [2011-07-02 13:39 UTC] felipe@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 21:00:02 2025 UTC | 
Description: ------------ Plz see script. Test script: --------------- <?php function foo(int $bar) { return $bar + 1; } echo foo(99); ?> Expected result: ---------------- C:\PHP54_VC9>php test.php 100 Actual result: -------------- C:\PHP54_VC9>php test.php Catchable fatal error: Argument 1 passed to foo() must be an instance of int, in teger given, called in C:\PHP54_VC9\test.php on line 8 and defined in C:\PHP54_V C9\test.php on line 3