[dev] [cvs] commit: framework/MIME/MIME Contents.php

Jan Schneider jan at horde.org
Tue Jul 12 05:13:35 PDT 2005


Zitat von Jan Schneider <jan at horde.org>:

> jan         2005-07-12 04:47:04 PDT
>
>  Modified files:
>    MIME/MIME            Contents.php
>  Log:
>  reference
>
>  Revision  Changes    Path
>  1.151     +6 -2      framework/MIME/MIME/Contents.php
>
>  Chora Links:
>  
> http://cvs.horde.org/diff.php/framework/MIME/MIME/Contents.php?r1=1.150&r2=1.151&ty=u

This is a major heads up: I didn't realise until recently that the 
ternary operator (?:) always returns a copy of its operators. This 
might have impact on some edge cases that we experienced already where 
copy vs. reference is important.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list