Edit report at https://bugs.php.net/bug.php?id=62710&edit=1
ID: 62710 Updated by: [email protected] Reported by: divin dot sorcier at gmail dot com Summary: Declaration ... must be compatible with ... issue under namespace usage -Status: Open +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: 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. Previous Comments: ------------------------------------------------------------------------ [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
