. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Thursday, 22 February 2007

Tip for Clearing the PHP 5 Warnings in EclipsePHP

 

 

Benjamin Hill, in a new post over the Bakery blog gives a brief tutorial on how to clear warnings in EclipsePHP while using a PHP 5 framework. He says, CakePHP framework, sometimes is surprising to those who are used to programming with PHP 5. As EclipsePHP spits out pages and pages of warnings when compiling towards a PHP 5 base, scaring new CakePHP converts, he explains.

He gives a tip to clear these warnings. He says this tip follows the https://trac.cakephp.org/wiki/Developement/CodingStandards. He says to run the following replacements in eclipse across the entire workspace as case-sensitive matches:

1. & ->
2. var __ -> private __
3. var _ -> protected _
4. var -> public
5. function -> public function
6. public function _ -> protected function _
7. protected function __ -> private function _

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use