On Wed, 2004-03-10 at 08:30, [EMAIL PROTECTED] wrote:
> On 10 Mar 2004 Robert Cummings wrote:
>
> > Overhead is minimal since PHP doesn't actually copy the contents of the
> > container until an attempt to modify it is made. At which time the
> > contents are only actually copied if the internal r
On Wed, Mar 10, 2004 at 04:48:06PM +0300, Burhan Khalid wrote:
> Kelly Hallman wrote:
> >Consider this method:
> >
> >function xyz() {
> >return $this->data = unserialize($this->serial); }
> >
>
> Maybe I'm just being stupid, but wouldn't that simply return true if the
> assignment wa
On 10 March 2004 13:48, Burhan Khalid wrote:
> Kelly Hallman wrote:
> > Consider this method:
> >
> > function xyz() {
> > return $this->data = unserialize($this->serial); }
> >
>
> Maybe I'm just being stupid, but wouldn't that simply return true if
> the assignment was successful,
Kelly Hallman wrote:
Consider this method:
function xyz() {
return $this->data = unserialize($this->serial); }
Maybe I'm just being stupid, but wouldn't that simply return true if the
assignment was successful, and false otherwise?
[ trimmed ]
--
PHP General Mailing List (http://www
On 10 Mar 2004 Robert Cummings wrote:
> Overhead is minimal since PHP doesn't actually copy the contents of the
> container until an attempt to modify it is made. At which time the
> contents are only actually copied if the internal reference count is
> greater than 0. Generally this means it won'
On Wed, 2004-03-10 at 02:07, Kelly Hallman wrote:
> Consider this method:
>
> function xyz() {
> return $this->data = unserialize($this->serial); }
>
> A few assumptions:
> - Resultant data large enough to warrant discussion of efficiency
> - I always want to store the unserialized da
Consider this method:
function xyz() {
return $this->data = unserialize($this->serial); }
A few assumptions:
- Resultant data large enough to warrant discussion of efficiency
- I always want to store the unserialized data into the object
- The return value is only needed sometimes
If
7 matches
Mail list logo