[PHP] zend_auto_global_disable_jit missing in PHP 5.4.5

2012-06-04 Thread freeone3000
I'm working with a third-party PHP extension that makes a call to zend_auto_global_disable_jit. However, in PHP5.4.5, there is no zend_auto_global_disable_jit available, nor is it in its traditional header. Commenting out all zend_auto_global_disable_jit calls causes PHP to no longer recognize it a

[PHP] zend_auto_global_disable_jit missing in PHP 5.4.5

2012-06-04 Thread freeone3000
I'm working with a third-party PHP extension that makes a call to zend_auto_global_disable_jit. However, in PHP5.4.5, there is no zend_auto_global_disable_jit available, nor is it in its traditional header. Commenting out all zend_auto_global_disable_jit calls causes PHP to no longer recognize it a

Re: [PHP] disabled cookies

2012-06-04 Thread Matijn Woudt
On Tue, Jun 5, 2012 at 12:13 AM, Ashley Sheridan wrote: > On Mon, 2012-06-04 at 17:53 -0400, Paul M Foster wrote: > >> On Sun, Jun 03, 2012 at 10:21:21PM +0100, Ashley Sheridan wrote: >> >> > >> > >> > Al wrote: >> > >> > >Disabled cookies use to be a problem years ago.  What's your >> > >experie

Re: [PHP] disabled cookies

2012-06-04 Thread Ashley Sheridan
On Mon, 2012-06-04 at 17:53 -0400, Paul M Foster wrote: > On Sun, Jun 03, 2012 at 10:21:21PM +0100, Ashley Sheridan wrote: > > > > > > > Al wrote: > > > > >Disabled cookies use to be a problem years ago. What's your > > >experience these days. > > > > > >I need it for my session ID. As I rea

Re: [PHP] disabled cookies

2012-06-04 Thread Paul M Foster
On Sun, Jun 03, 2012 at 10:21:21PM +0100, Ashley Sheridan wrote: > > > Al wrote: > > >Disabled cookies use to be a problem years ago. What's your > >experience these days. > > > >I need it for my session ID. As I read the docs, the old method of > >appending it to the URL is a security issue.

Re: [PHP] 0.0.0.0 & iplong()

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 8:38 PM, jas wrote: > On 06/04/2012 11:33 AM, Matijn Woudt wrote: >> >> On Mon, Jun 4, 2012 at 6:54 PM, jas  wrote: >>> >>> Not sure if this is a bug or not... >>> >>> I have run into an error when performing a conditional using iplong() and >>> the ~ bitwise operator >>> >>

Re: [PHP] 0.0.0.0 & iplong()

2012-06-04 Thread jas
On 06/04/2012 11:33 AM, Matijn Woudt wrote: On Mon, Jun 4, 2012 at 6:54 PM, jas wrote: Not sure if this is a bug or not... I have run into an error when performing a conditional using iplong() and the ~ bitwise operator $ip = '0.0.0.0'; $mask = '24'; $end = (ip2long($ip) || (~ip2long($mask))

Re: [PHP] 0.0.0.0 & iplong()

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 6:54 PM, jas wrote: > Not sure if this is a bug or not... > > I have run into an error when performing a conditional using iplong() and > the ~ bitwise operator > > $ip = '0.0.0.0'; > $mask = '24'; > > $end = (ip2long($ip) || (~ip2long($mask))) + 1; > > PHP Fatal error:  Uns

[PHP] 0.0.0.0 & iplong()

2012-06-04 Thread jas
Not sure if this is a bug or not... I have run into an error when performing a conditional using iplong() and the ~ bitwise operator $ip = '0.0.0.0'; $mask = '24'; $end = (ip2long($ip) || (~ip2long($mask))) + 1; PHP Fatal error: Unsupported operand types I even tried to typecast the mask t

Re: [PHP] long running php script won't complete :(

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 5:57 PM, rene7705 wrote: > Hi. > > I've got a piece of code that builds up a multi-meg test array for my > opensourced http://mediabeez.ws/products/htmlMicroscope var_dump() > improvement, and when I run it for longer than about 20 minutes, the > browser just calls it quits.

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Tim Streater
On 04 Jun 2012 at 15:43, Mihamina Rakotomandimby wrote: > I have a colleague stuck with this thing named "Hungarian Notation" > http://goo.gl/xYv8O > > We try to define our internal coding standards, which is very close to > the Symfony ones http://goo.gl/f2rcO > > But we're in conflict because

[PHP] long running php script won't complete :(

2012-06-04 Thread rene7705
Hi. I've got a piece of code that builds up a multi-meg test array for my opensourced http://mediabeez.ws/products/htmlMicroscope var_dump() improvement, and when I run it for longer than about 20 minutes, the browser just calls it quits.. :( Firefox, and chrome. I'd like to do this with a browse

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 4:43 PM, Mihamina Rakotomandimby wrote: > Hi all, > > I have a colleague stuck with this thing named "Hungarian Notation" > http://goo.gl/xYv8O > > We try to define our internal coding standards, which is very close to the > Symfony ones http://goo.gl/f2rcO > > But we're in

[PHP] Re: Hungarian Notation interest with PHP

2012-06-04 Thread Tony Marston
"Mihamina Rakotomandimby" wrote in message news:4fccc97a.1060...@rktmb.org... Hi all, I have a colleague stuck with this thing named "Hungarian Notation" http://goo.gl/xYv8O We try to define our internal coding standards, which is very close to the Symfony ones http://goo.gl/f2rcO But we'r

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Mihamina Rakotomandimby
On 06/04/2012 05:58 PM, Ashley Sheridan wrote: The two don't look to be mutually exclusive, Sure, they're not. It's not forbiden to "prefix" variables. but Hungarian notation doesn't make much sense to me for php. Php is a loose typed language, That's the first point I told him. No way: for

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Ashley Sheridan
Mihamina Rakotomandimby wrote: >Hi all, > >I have a colleague stuck with this thing named "Hungarian Notation" >http://goo.gl/xYv8O > >We try to define our internal coding standards, which is very close to >the Symfony ones http://goo.gl/f2rcO > >But we're in conflict because the colleague real

[PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Mihamina Rakotomandimby
Hi all, I have a colleague stuck with this thing named "Hungarian Notation" http://goo.gl/xYv8O We try to define our internal coding standards, which is very close to the Symfony ones http://goo.gl/f2rcO But we're in conflict because the colleague really argue about his "Hungarian Notation".

Re: [PHP] disabled cookies

2012-06-04 Thread Lester Caine
Matijn Woudt wrote: I wonder what browser you're using. I just read the IE10 privacy policy, and it pretty much states the same, Microsoft can collect private data from you. Opera, Firefox and Safari probably have something similar. Seamonkey ... on Linux Still prefer a proper internet suit so

Re: [PHP] help with preg_match

2012-06-04 Thread Chris Purves
On 2012-06-03 22:37, Robert Williams wrote: > On Jun 3, 2012, at 17:28, "Chris Purves" wrote: > >> I know that the text ends 'end', but I don't know what the Something, >> something is. I am using preg_match as follows: >> >> preg_match('/[^>]*end/',$curl_response,$matches); >> >> I want to matc

[PHP] Re:

2012-06-04 Thread Al
On 6/3/2012 8:26 PM, Chris Purves wrote: Hello, I am trying to use preg_match to match something from an html file. Within the html file is some text that looks like: Something, something end I know that the text ends 'end', but I don't know what the Something, something is. I am using preg_

Re: [PHP] disabled cookies

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 1:09 AM, Lester Caine wrote: > Ashley Sheridan wrote: >> >> How is Google Chrome a bigger security risk than the other popular >> browsers, Fx and IE? >> >> I was under the impression it was more secure than either of those. > > > License Conditions ... They may have removed

Re: [PHP] disabled cookies

2012-06-04 Thread Lester Caine
Ashley Sheridan wrote: Lester Caine wrote: Ashley Sheridan wrote: How is Google Chrome a bigger security risk than the other popular browsers, Fx and IE? I was under the impression it was more secure than either of those. License Conditions ... They may have removed the original landgra

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-04 Thread ma...@behnke.biz
324...@mail.muni.cz hat am 1. Juni 2012 um 21:52 geschrieben: > Hi, > > as I accidentally found out that PHP allows default argument values > to occur not only at the end of parameter list: > > function ( Classname $a, Classname $b = null, Classname $c ) ... > > Unfortunately, documentation does