php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62710 Declaration ... must be compatible with ... issue under namespace usage
Submitted: 2012-07-31 20:32 UTC Modified: 2013-02-18 00:35 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: divin dot sorcier at gmail dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: Irrelevant OS: ubuntu 12.04 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: divin dot sorcier at gmail dot com
New email:
PHP Version: OS:

 

 [2012-07-31 20:32 UTC] 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. 




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-01 02:04 UTC] aharvey@php.net
-Status: Open +Status: Feedback
 [2012-08-01 02:04 UTC] 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-08-01 02:05 UTC] aharvey@php.net
Also, please test this with a current version of PHP and without Suhosin.
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 13:01:29 2024 UTC