PHP

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Built-in Interface to rewrite empty() ?

    0 answers - 457 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    I think I once knew a PHP5 interface, which forces a class to implement
    a function empty(). If an object $ implements this interface, it
    should be possible to call empty($) as it seems to work with the
    interface "Countable", which does the same for count().
    The problem is I didn't find such an interface in any doc I found so
    far. Does anyone of you know such an interface, or did it ever exist?
    thanks,
    Norbert

Re: Built-in Interface to rewrite empty() ?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "PHP"

EMSDN.COM