milou Posted February 7, 2014 Share Posted February 7, 2014 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. 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. 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 Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/#findComment-1468032 Share on other sites More sharing options...
milou Posted February 8, 2014 Author Share Posted February 8, 2014 Hi cyberRobot, thanks for your reply! then no oop for me... Link to comment https://forums.phpfreaks.com/topic/286011-php5-oop-obligated/#findComment-1468181 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.