Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98010 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74362 invoked from network); 28 Jan 2017 20:27:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2017 20:27:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.160 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.160 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.160] ([81.169.146.160:30624] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/60-06271-ABEFC885 for ; Sat, 28 Jan 2017 15:27:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1485635255; l=1624; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=1/j2T3fmji8Zk9R+Rc7Zo622OFINyxiLKYH8KhFjjvk=; b=TYZTMORlarM7P7OZg5igFeT3KG3sf/2q5+xqznf0/fXe6AxK4m85r2y80m0SvNQbX2 E+B28RfD9b/hEYHvXjAH38KqopNzSHZnGMZsDoW44AjRxy9aHBCp6ftnYBErabPfGVoC knQbXOZIFUQcTFkE4GrZJNKZRDkbpNGO5OgN8= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNJBqD/tRU= X-RZG-CLASS-ID: mo00 Received: from mail-qt0-f175.google.com ([209.85.216.175]) by smtp.strato.de (RZmta 39.11 AUTH) with ESMTPSA id z05ac5t0SKRZvGq (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Sat, 28 Jan 2017 21:27:35 +0100 (CET) Received: by mail-qt0-f175.google.com with SMTP id v23so174856639qtb.0 for ; Sat, 28 Jan 2017 12:27:35 -0800 (PST) X-Gm-Message-State: AIkVDXKhxxAzX0AYVgjUmkVTuu0xCU5PLcD4MPRDSpyioxmPnLxNHaSLy3Q8R94A/m9bbDMqVO2B9zObjHBR1w== X-Received: by 10.237.37.50 with SMTP id v47mr13076275qtc.126.1485635254531; Sat, 28 Jan 2017 12:27:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.144.132 with HTTP; Sat, 28 Jan 2017 12:27:34 -0800 (PST) In-Reply-To: References: <9113D065-B94A-4CA2-9420-56963C703ECA@gmail.com> Date: Sat, 28 Jan 2017 21:27:34 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Wes Cc: Rasmus Schultz , Rowan Collins , PHP Internals Content-Type: multipart/alternative; boundary=001a114030a49cc9e105472d6969 Subject: Re: [PHP-DEV] Not autoloading functions From: me@kelunik.com (Niklas Keller) --001a114030a49cc9e105472d6969 Content-Type: text/plain; charset=UTF-8 > > I'm sorry, it's unacceptable for who? Only for not defined function it > would be called. If I call the same function a thousand times, the autoload > will be attempted just the first time, and if it doesn't work then the > script would die, exactly like classes. Any project I know that uses > functions define them one per file, and each file is required one by one. > Our observations are pretty different. I don't know any projects that use one function per file. I usually see a functions.php per namespace. Regards, Niklas --001a114030a49cc9e105472d6969--