From:  joshuadavidconn@gmail.com ("joshuaconn")
Date:  30 Dec 2016 05:54:26 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #21032 [Com]: Pager & PHP 7

NNTP-Posting-Host:  null

Edit report at http://pear.php.net/bugs/bug.php?id=21032&edit=1

 ID:               21032
 Comment by:       joshuaconn
 Reported By:      joshuadavidconn at gmail dot com
 Summary:          Pager & PHP 7
 Status:           Open
 Type:             Bug
 Package:          Pager
 Operating System: irrelevant
 Package Version:  Unknown
 PHP Version:      5.6.18
 New Comment:

An attempt was made to resolve the "Non-static method Pager::factory()
should not be called statically" problem here back in April:

https://github.com/pear/Pager/pull/4


Previous Comments:
------------------------------------------------------------------------

[2016-02-21 14:13:13] accorinti

Description:
------------
Hello, there are some issues with the new PHP version:

Deprecated: Methods with the same name as their class will not be
constructors in a future version of PHP; Pager has a deprecated
constructor in G:\xampp\htdocs\ISG\admin\pager\Pager\Pager.php on line
52

Deprecated: Non-static method Pager::factory() should not be called
statically in {myserver_myfile.php} on line 86

Deprecated: Methods with the same name as their class will not be
constructors in a future version of PHP; Pager_Sliding has a deprecated
constructor in G:\xampp\htdocs\ISG\admin\pager\Pager\Sliding.php on line
55

Parse error: syntax error, unexpected 'new' (T_NEW) in
G:\xampp\htdocs\ISG\admin\pager\Pager\Common.php on line 1298

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=21032&edit=1