[PHP] Doubt on why some syntaxis is not used for PHP

2009-06-12 Thread Manuel Aude
I'm gonna guess that there might be some syntaxis problems or something, since I would guess the following make sense to the PHP language. Arrays: Since the + operator already gives the union of two arrays, why isn't the - operator for differences and | for intersections? I would find those to be

[PHP] I've some doubts if I should go with 5.2 or go already with 5.3 (for a course)

2009-06-23 Thread Manuel Aude
I'm giving a PHP course next semester (3 hours all saturdays for 22 weeks) and I just realized that PHP 5.3 is coming very soon (2 days now!). So, my plans of teaching PHP 5.2 are starting to change, and I think it's a good idea to teach them 5.3 already. While the majority of the students use Win

Re: [PHP] I've some doubts if I should go with 5.2 or go already with 5.3 (for a course)

2009-06-23 Thread Manuel Aude
.3. -- Forwarded message -- From: Per Jessen To: php-general@lists.php.net Date: Tue, 23 Jun 2009 10:12:55 +0200 Subject: Re: [PHP] I've some doubts if I should go with 5.2 or go already with 5.3 (for a course) Manuel Aude wrote: > I'm giving a PHP course next semester

Re: [PHP] I've some doubts if I should go with 5.2 or go already with 5.3 (for a course)

2009-06-23 Thread Manuel Aude
;t really break apps that were written in PHP 5.2, but if you're going to design an application, thinking about this options is very useful. Too bad we don't get Traits yet =( Horizontal re-use is very nice. > Robert Cummings wrote: > > > Per Jessen wrote: > >> Manuel