NYCPHP Meetup

NYPHP.org

[nycphp-talk] I need help with eval() with a class void method call

Nunez, Eddy enunez at tiaa-cref.org
Fri Oct 10 12:01:41 EDT 2003


Wow.... $func( var1, var2, etc )
Didn't know that was valid without some fancy evals.

Thanks Dave.  Dang, my PHP manual is out-of-date!

-Eddy

-----Original Message-----
From: David Rydell [mailto:drydell at worldnet.att.net]
Sent: Thursday, October 09, 2003 10:14 PM
To: soazine at erols.com; NYPHP Talk
Subject: RE: [nycphp-talk] I need help with eval() with a class void
method call


eval is not needed... $field->$val($max, $errDisplayArray[$key]); should
work with no problem. I use this technique in several scripts. It also works
for static calls, ie Classname::$function($parm);

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003

_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk


**************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies.  You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************




More information about the talk mailing list