Bug #62710 [Fbk->NoF]: Declaration ... must be compatible with ... issue under namespace usage
Edit report at https://bugs.php.net/bug.php?id=62710&edit=1
ID: 62710
Updated by: php-bugs@lists.php.net
Reported by: divin dot sorcier at gmail dot com
Summary: Declaration ... must be compatible with ... issue
under namespace usage
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *General Issues
Operating System: ubuntu 12.04 LTS
PHP Version: Irrelevant
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2012-08-01 02:05:18] aharvey@php.net
Also, please test this with a current version of PHP and without Suhosin.
------------------------------------------------------------------------
[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
Thread (4 messages)