Upgrade PHP - Backward Incompatible changes

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Upgrade PHP - Backward Incompatible changes

Post by egami » Wed Jun 20, 2012 10:18 am

You could always run the code from command line

php -l filename.php

and it will report any incompatibilities.

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Upgrade PHP - Backward Incompatible changes

Post by egami » Wed Jun 20, 2012 12:48 pm

That should do the trick..


results will look like this..

Code: Select all

No syntax errors detected in ./wiki/tests/selenium/SeleniumTestListener.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiInstallationConfig.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiInstallationCommonFunction.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiInstallationVariables.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiInstallerTestSuite.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiInstallationMessage.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiUserInterfaceTestCase.php
No syntax errors detected in ./wiki/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumServerManager.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumTestConsoleLogger.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumTestHTMLLogger.php
No syntax errors detected in ./wiki/tests/selenium/Selenium.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumLoader.php
No syntax errors detected in ./wiki/tests/selenium/SeleniumTestConstants.php
No syntax errors detected in ./wiki/tests/selenium/suites/SimpleSeleniumTestSuite.php

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests