Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Curlies again [was: Upgrade notes for PHP 5.1 - final draft] [RSS Feed]

#1 Nov. 20, 2005 14:35:45

Robert C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Curlies again [was: Upgrade notes for PHP 5.1 - final draft]


On Sun, 2005-11-20 at 08:50, Derick Rethans wrote:
> On Sun, 20 Nov 2005, Matthias Pigulla wrote:
>
> > Changing language syntax that way back and forth again will cause a loss
> > in credibility - once again after the 4.4.0 release.
>
> If you prefer a PHP which causes strange crashses and memory
> corruptions, please downgrade to 4.3.11. I am getting tired about this
> bickering about this **FIX** that makes PHP stable.

I'm fine with the dropping of curly braces, but your attempt to rename
this issue as a **FIX** is a bit arrogant and condescending. But maybe
you know of some crashes directly related to curly braces, or maybe
we're expected to swallow that the deprecation of in favour of {} as
posted on the official site and now apparent in many language reference
books... was a typo.

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework -http://www.interjinn.com|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#2 Nov. 20, 2005 19:07:11

Greg B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Curlies again [was: Upgrade notes for PHP 5.1 - final draft]


Matthias Pigulla wrote:As to the possible impact - I did a quick scan of Smarty and
phpDocumentor (because I used to have CVS HEAD checkouts of them at
hand) and found that both of them would be affected. Please, do not make
such a change that late in an RC5 and push it out with PHP5.1. At least
give the maintainers of popular PHP based projects some time to pick it
up and test it.This is a non-issue for phpDocumentor. All we need is at least 6 monthsto a year of lead time on the final decision in order to adjust the code.However, it is obvious that a script is needed that iterates over ascript and changes things that are easy to fix like the $a{blah} one. Ihave an idea for a callback-based php parser that might be able to solvethis issue more easily, but it is just vaporware at the moment, as Ineed to learn a bit more of the PHP internals before being sure it is apractical idea.In the mean time, let's all calm down and note that the best thing to dois to take this course of action:1) assume things will be broken in PHP (X+1) - a major version increasemeans big changes by definition.2) be thankful this is transparent enough that we can have enough leadtime to make small changes to legacy scripts as needed - this is why theE_STRICT is added to PHP 5.1 now. Would you prefer a sudden break inPHP 6 without any warning?3) ALWAYS test RCs of releases when they come out with our criticalapplications and note any breaks here, to determine whether they arebugs or intentional changes in PHP.Thanks,
Greg

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#3 Nov. 20, 2005 19:22:49

Robert C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Curlies again [was: Upgrade notes for PHP 5.1 - final draft]


On Sun, 2005-11-20 at 09:37, Derick Rethans wrote:
> On Sun, 20 Nov 2005, Robert Cummings wrote:
>
> > On Sun, 2005-11-20 at 08:50, Derick Rethans wrote:
> > > On Sun, 20 Nov 2005, Matthias Pigulla wrote:
> > >
> > > > Changing language syntax that way back and forth again will cause a loss
> > > > in credibility - once again after the 4.4.0 release.
> > >
> > > If you prefer a PHP which causes strange crashses and memory
> > > corruptions, please downgrade to 4.3.11. I am getting tired about this
> > > bickering about this **FIX** that makes PHP stable.
> >
> > I'm fine with the dropping of curly braces, but your attempt to rename
> > this issue as a **FIX** is a bit arrogant and condescending.
>
> Huh, I was talking about the reference issue, not about the curlies.

*lol* Sorry, the subject confused me then :)

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework -http://www.interjinn.com|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Curlies again [was: Upgrade notes for PHP 5.1 - final draft] [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support