Hi,
I've recently changed from php 5.1 to 5.3.2 and I'm havong problems with
preg_match, because the same regular expressions used in php 5.1 are not
matching anything in 5.3.2.
There are any significant changes that I should know?
I've been searching but I haven't found anything.
Thanks.
Is there any place where to read the changelog or something?
Thanks.
>>>
For example, the following regex doesn't work.
return (bool) preg_match('/^[\pL\pN\pZ\p{Pc}\p{Pd}\p{Po}]++$/uD',
(string) $str);
Shiplu Mokadd.im
___
do strace php -v and see what's the path for the old version.
It'd be better if you uninstall the old version, but it you don't know how was
it installed, simply remove the old php binary or overwrite it with newer.
I. Lopez.
Hi,
I have a shell account with limited access. The php c
then try different paths to locate the version you want:
/usr/bin/php
/usr/local/bin/php
/usr/sbin/php
etc
etc
I don't have root permission to unistall
the old version or remove the
link or create a link in /usr/loca/bin/php
I'm just call the php
-v command and get the version 4.
T
4.3.0
The flags parameter was added
But it doesn't explain why my regexps work fine within php 5.1 but 5.3
Ivan.
>>>>>>>>>
> -Original Message-
> From: Spud. Ivan. [mailto:spudm...@hotmail.com]
> Sent: 11 May 2010 01:2
I think we've not so much only with the regex, but maybe you can tell me
somethin helpful ;)
/Word1:<\/a><\/h4>\(fir.*?st
word.*?(.*)Word2:<\/a><\/h4>(.*)Second
word:<\/a><\/h4>(.*)Word3:<\/a><\/h4>(.*)rd word/is
Thanks.
I.Lopez.
>&
> From: a...@ashleysheridan.co.uk
> To: spudm...@hotmail.com
> CC: php-general@lists.php.net
> Date: Tue, 11 May 2010 21:43:54 +0100
> Subject: RE: [PHP] regexp questions
>
> On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote:
>
> >
> > I think we
> Subject: RE: [PHP] regexp questions
> Date: Wed, 12 May 2010 11:11:07 +0100
> From: m.f...@leedsmet.ac.uk
> To: spudm...@hotmail.com; php-general@lists.php.net
>
>
>
> > -Original Message-
> > From: Spud. Ivan. [mailto:spudm...@hotmail.com]
> &
> Date: Tue, 11 May 2010 15:38:41 -0700
> From: li...@cmsws.com
> To: spudm...@hotmail.com
> CC: php-general@lists.php.net
> Subject: Re: [PHP] regexp questions
>
> Spud. Ivan. wrote:
> >
> > I think we've not so much only with the regex, but maybe
Subject: RE: [PHP] regexp questions
From: a...@ashleysheridan.co.uk
To: spudm...@hotmail.com
CC: php-general@lists.php.net
Date: Wed, 12 May 2010 17:11:11 +0100
On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote:
> Date: Tue, 11 May 2010 15:38:41 -0700
> From: li...@cmsws.co
Hi,
I'm trying to insert a serialized data into mysql, but I does
mysql_real_escape_string() before inserting it.
INSERT IGNORE INTO `table` (`value`) VALUES
('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}');
it result in
INSERT IGNORE INTO `table` (`value`
Hi,
I'm trying to insert a serialized data into mysql, but I does
mysql_real_escape_string() before inserting it.
INSERT IGNORE INTO `table` (`value`) VALUES
('a:3:{s:12:"F1";s:6:"nombre";s:11:"F2";s:5:"F3";s:16:"F4";s:10:"F5";}');
it result in
INSERT IGNORE INTO `table` (`value`) VALU
> From: spudm...@hotmail.com
> To: php-general@lists.php.net
> Date: Fri, 14 May 2010 22:01:09 +0200
> Subject: RE: [PHP] regexp questions
>
>
>
>
> Hi,
>
>
>
> I'm trying to insert a serialized data into mysql, but I does
> mysql_real_escape_string() before inserting it.
>
>
>
> IN
13 matches
Mail list logo