milou Posted February 7, 2014 Share Posted February 7, 2014 (edited) Hi all, I was wondering, if 1. I activate all errors except notices: error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 1); 2. my environment is php5.5 3. I get no errors Is my code then php5? I do not use any OOP, do I have to, to use php5? regards, Milou. Edited February 7, 2014 by milou Quote Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/ Share on other sites More sharing options...
cyberRobot Posted February 7, 2014 Share Posted February 7, 2014 OOP was available in previous versions of PHP. It's not the same as it is in PHP5, but OOP was available in PHP4. So to answer your question, you don't need to use OOP to program with PHP5. Use whatever techniques you feel comfortable with to get the job done. Quote Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/#findComment-1468031 Share on other sites More sharing options...
cyberRobot Posted February 7, 2014 Share Posted February 7, 2014 If you're interested in seeing what's new in PHP5, check out the following link: http://www.php.net/manual/en/migration5.php Quote Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/#findComment-1468032 Share on other sites More sharing options...
Solution milou Posted February 8, 2014 Author Solution Share Posted February 8, 2014 Hi cyberRobot, thanks for your reply! then no oop for me... Quote Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/#findComment-1468181 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.