pass by reference
| From: | Pupeno | Date: | Mon, 13 Jan 2003 23:36:57 +0000 |
| Subject: | pass by reference | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131485@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I did a complex class that works with XML parsing and complex structured where
I used references extensivly and now I'm surprised with:
Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it by reference, modify the declaration of
array_push(). If you would like to enable call-time pass-by-reference, you
can set allow_call_time_pass_reference to true in your INI file. However,
future versions may not support this any longer.
I can't modify the php.ini since I'm in a shared but the problem is deeper.
Why was it deprecated ? what replaced it ? is there any work arround ?
My 200 lines of code without references could take much, much longer and be
much, much more messy.
Any ideas ?
Thanks.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+I02cLr8z5XzmSDQRAs/0AKCyf+UG0uZdbwG30WFU0UUNVWO7BwCgnCn5
2LmOOJi8uX+1dOqUfCTatSE=
=5obN
-----END PGP SIGNATURE-----