See, I was right

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chung Leong

    See, I was right

    For years I have been telling people to avoid using references in PHP 4
    unless it's absolutely necesssary. There is nothing specific I can put
    my finger on, but I have observed in the past that frequent use of
    references could lead to performance and stability issues. In short,
    there's "something" not quite right with references in PHP 4.

    The release of PHP 4.4.0RC1 proves my point:

    "This release address a major problem within PHP concerning references.
    If references where used in a wrong way, PHP would often create memory
    corruptions which would not always surface and be visible. In other
    cases it can cause variables and objects to change type or class. If
    you encountered strange behavior like this, this release might fix it."

  • R. Rajesh Jeba Anbiah

    #2
    [OT] Re: See, I was right

    Chung Leong <chernyshevsky@ hotmail.com> wrote:[color=blue]
    > For years I have been telling people to avoid using references in PHP 4
    > unless it's absolutely necesssary.[/color]
    <snip>

    When I looked at the subject, I'd thought it's yet another spam or
    something.

    --
    <?php echo 'Just another PHP saint'; ?>
    Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com

    Comment

    Working...