Bug #62710 [Fbk]: Declaration ... must be compatible with ... issue under namespace usage
| From: | aharvey@php.net | Date: | Wed, 01 Aug 2012 02:05:18 +0000 |
| Subject: | Bug #62710 [Fbk]: Declaration ... must be compatible with ... issue under namespace usage | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172366@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62710&edit=1
ID: 62710
Updated by: aharvey@php.net
Reported by: divin dot sorcier at gmail dot com
Summary: Declaration ... must be compatible with ... issue
under namespace usage
Status: Feedback
Type: Bug
Package: *General Issues
Operating System: ubuntu 12.04 LTS
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Also, please test this with a current version of PHP and without Suhosin.
Previous Comments:
------------------------------------------------------------------------
[2012-08-01 02:04:52] aharvey@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2012-07-31 20:32:44] divin dot sorcier at gmail dot com
Description:
------------
fabien@golap:~/entrepreneurship/solutions/developpement/frameworks$ php --version
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli) (built: Jun 13 2012 17:20:55)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
fabien@golap:~/entrepreneurship/solutions/developpement/frameworks$ php -c
~/entrepreneurship/solutions/administration-systeme/php-config/cli/frameworks.ini
bif/sf/persistence/userTables/tests/tu_SF_CreateUserTables.php 1234567
Fatal error: Declaration of
spocita\bif\sf\persistence\functionalStrategy\SF_ExactRowNumber::compare() must be compatible with
that of spocita\bif\sf\persistence\functionalStrategy\SF_IComparisonStrategy::compare() in
/home/entrepreneurship/solutions/developpement/frameworks/bif/sf/persistence/functionalStrategy/php/SF_ExactRowNumber.php
on line 10
[Exit 255]
Test script:
---------------
Seems very similar to bug #60717.
Expected result:
----------------
Get rid of weird message and being able to compile (apparently) correct code.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62710&edit=1