Re: [Discussion] Deprecate function sizeof()

From: Date: Sat, 07 Mar 2015 17:43:57 +0000
Subject: Re: [Discussion] Deprecate function sizeof()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-84410@lists.php.net to get a copy of this message
On 07/03/15 17:35, Sebastian B.-Hagensen wrote: > On the other side: Removal of sizeof is doable with a patch release > for almost all projects and shouldn't really require more than 5 to 10 > minutes (+ time to review the diff) for most projects. If taken in conjunction with tidying up the IEEE C standard consistency then dropping what is basically the wrong use of sizeof makes a lot of sense? Eventually using sizeof for the physical size of elements in line with it's C use would be more consistent. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#84410) next »