I’ve been using __FILE__ for years, but I never thought to look for its siblings.
echo ‘ line:’. __LINE__ .’ file:’. __FILE__ .’ directory:’. __DIR__ .’ function:’. __FUNCTION__ .’ class:’. __CLASS__ .’ method:’. __METHOD__ .’ namespace:’. __NAMESPACE__;
I feel as though I should have noticed these earlier; they’re clearly referenced in the docs for debug_backtrace(), after all.
Posted April 27, 2009 by Casey Bisson
Categories: Dispatches, Technology. Tags: class, constants, dir, file, function, line, magic, method, namespace, php, __CLASS__, __DIR__, __FILE__, __FUNCTION__, __LINE__, __METHOD__, __NAMESPACE__. Be the first one.
The rumors are that the AT&T store here has about 30 phones. Nobody is talking about how many our Apple Store has.
waiting, line, iphone, anticipation, launch
Posted June 29, 2007 by Casey Bisson
Categories: Dispatches. Tags: anticipation, iphone, launch, line, waiting. Be the first one.
26 people in line. At least one is hoping to auction his, three are being paid, and nobody wants the cheap one.
line, waiting, iphone, anticipation
Posted June 29, 2007 by Casey Bisson
Categories: Dispatches. Tags: anticipation, iphone, line, waiting. 3 Comments.
Suited security guy with square jaw and angry expression grunts at us as he confirms plans with store manager. He’s from management, and though we couldn’t overhear much, we did realize he was headed off to the AT&T store next. All of us remained silent as we watched him stomp off in the wrong direction.
iphone, [...]
Posted June 29, 2007 by Casey Bisson
Categories: Dispatches. Tags: anticipation, iphone, line, waiting. Be the first one.
Arrived at 8am to find four parties ahead of me. The first arrived at 7am, after repeatedly being chased out of the mall parking lot last night.
iphone, waiting, line, anticipation
Posted June 29, 2007 by Casey Bisson
Categories: Dispatches. Tags: anticipation, iphone, line, waiting. Be the first one.