Critical Thinking, or Several "Why" Questions

From: Date: Tue, 05 Apr 2005 18:44:00 +0000
Subject: Critical Thinking, or Several "Why" Questions
Groups: php.general 
Request: Send a blank email to php-general+get-212286@lists.php.net to get a copy of this message
Why include_once() is doing some fancy logic, which nobody needs? Why array_shift() re-indexes arrays? Why 2 simple string comparisons are slower than one preg_match()? Why microtime(TRUE) returns only fraction of real time that is smaller than 1? Why microtime() does not return float in the first place? Why user-defined session-handling functions receive serialized session data that is already serialized? Why parser reads multi-line comment slower than it reads heredoc or single-quoted string?

« previous php.general (#212286) next »