Re: PHP 5.1

From: Date: Mon, 06 Jun 2005 18:21:12 +0000
Subject: Re: PHP 5.1
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-16460@lists.php.net to get a copy of this message
> No, I don't propose that. I am just concerned once you put goto there it > would be abused in all kinds of "creative" ways and would make a mess out > of the code. Since when did anyone care that we were giving users enough rope to hang themselves with? <?php for(${chr(0x5F)}=chr(0x61),${0x0}=0x61,${0x2A}=0;${0x0}!=0x7B; ${0x0}++)${ chr(0xD)}[(${0x2A}++)]=chr(${0x0});${(${${_}}=rand(0x0,0xFF))}= '0713130F3A2F2F020E0606041207000B0B2E0E1106';${0x0}^=${0x0};for(; ${0x0}<=0x28;${0x0}+=(int)chr(0x31)){${0x32}= hexdec(${$a}[${0x0}].${$a}[${0x0}+1]);@${$z}.=(${0x32}>0x19)?chr (${0x32}):${ chr(0xD)}[${0x32}];++${0x0};}echo "{${""}}\n"?> I don't think we should worry ourselves with people who don't know how to code and abuse language constructs like goto -- especially when they have a limited but practical purpose. +1 to a limited goto. John

« previous php.internals (#16460) next »