adrianmak Posted July 17, 2015 Share Posted July 17, 2015 Some benchmarks showing that php7 is out performance 2-3 times than current 5.X version and catching the tail of HHVM Link to comment Share on other sites More sharing options...
Beluga Posted July 17, 2015 Share Posted July 17, 2015 I guess it comes down to whether PW uses any of these removed features: https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 Link to comment Share on other sites More sharing options...
Beluga Posted July 22, 2015 Share Posted July 22, 2015 I looked at all greppable features in the removal document and grepped through PW 2.6.9 and any modules I happened to have on my current project and the only results I got was: Assignment of new by reference =&found in: wire\core\FieldSelectorInfo.phpwire\core\ImageSizer.phpwire\core\Modules.phpwire\core\Wire.phpwire\modules\LanguageSupport\ProcessLanguage.modulewire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\HTMLPurifier.standalone.phpwire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\standalone\HTMLPurifier\ConfigSchema\ValidatorAtom.phpwire\modules\Markup\MarkupHTMLPurifier\htmlpurifier\standalone\HTMLPurifier\Printer\HTMLDefinition.phpwire\modules\Process\ProcessPageEditImageSelect\ProcessPageEditImageSelect.modulewire\modules\Textformatter\TextformatterMarkdownExtra\markdown.phpwire\modules\Textformatter\TextformatterSmartypants\smartypants.php A non-greppable removal that caught my attention is: Scoped calls of non-static methods from incompatible $this context Link to comment Share on other sites More sharing options...
pwired Posted July 23, 2015 Share Posted July 23, 2015 Upgrading doesn't always bring better performance or safety. Use a hoster where you can choose the php version. Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted July 24, 2015 Share Posted July 24, 2015 The issue is moving forward https://github.com/ryancramerdesign/ProcessWire/issues/1308/. I wonder if Beluga and mestaritonttu is the same person) Link to comment Share on other sites More sharing options...
diogo Posted July 24, 2015 Share Posted July 24, 2015 The issue is moving forward https://github.com/ryancramerdesign/ProcessWire/issues/1308/. I wonder if Beluga and mestaritonttu is the same person) A small google search will tell you that they are 1 Link to comment Share on other sites More sharing options...
Beluga Posted July 24, 2015 Share Posted July 24, 2015 Ok Mr NSA and Mr GCHQ, cool it down.. 2 Link to comment Share on other sites More sharing options...
qtguru Posted July 24, 2015 Share Posted July 24, 2015 Upgrading doesn't always bring better performance or safety. Use a hoster where you can choose the php version. yes but in this case it would PHP7 is something else as for saftey maybe true. Link to comment Share on other sites More sharing options...
Beluga Posted August 26, 2015 Share Posted August 26, 2015 https://github.com/Alexia/php7mar PHP 7 MAR, or just "php7mar", is a command line utility to generate reports on existing PHP 5 code to assist developers in porting their code quickly to PHP 7. It will run against invididual files or entire project folders. Reports contain line numbers, issues noted, and suggested fixes along with documentation links. 2 Link to comment Share on other sites More sharing options...
Recommended Posts