FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Why don't I get a deprecation warning?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Why don't I get a deprecation warning? [message #170625] Thu, 11 November 2010 21:14 Go to previous message
Roy Smith is currently offline  Roy Smith
Messages: 11
Registered: November 2010
Karma:
Junior Member
I'm running:

PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010
13:49:46)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo

I have a little test file which contains just:

<?php
$matches = array();
preg_match('/pattern/', 'string', &$matches);
?>

I was expecting when I run it (with "php try.php"), I would get a
deprecation warning about the call-time pass by reference. I don't.

I get the deprecation warning from similar code (which is part of a
large application) when run under apache. Why don't I get the warning
when I run this test case on the command line?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ANNOUNCE: NHI1-0.9, PLMK-1.7 und libmsgque-4.7
Next Topic: where else can this list be found?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 05:51:13 GMT 2024

Total time taken to generate the page: 0.05651 seconds