Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98012 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78007 invoked from network); 28 Jan 2017 21:01:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2017 21:01:22 -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.162 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.162 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.162] ([81.169.146.162:21948] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/01-06271-0A60D885 for ; Sat, 28 Jan 2017 16:01:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1485637278; l=2308; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=XPq1fYHnceDh++eYZZaivrXhpnW8gOVHvhwVyQ9c7yc=; b=TOo7BnIf2qAOhS1gHZY7uG1OtSfcKH9wvPF++P45ZPlgUXHwL5v2LYae4RvuRx6QtQ CGa+ppl4osrbRZcZXPlr6nIEcHDYYfreER51VQ6Wrwq27tTuvH4C+cQYJ6IO9KM3j53j uAV2oa5kRu2bx2Dei9vIe+MjG2sknDjYP6Kc0= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNJBqD/sAU= X-RZG-CLASS-ID: mo00 Received: from mail-qt0-f170.google.com ([209.85.216.170]) by smtp.strato.de (RZmta 39.11 AUTH) with ESMTPSA id k07ca5t0SL1II3o (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 22:01:18 +0100 (CET) Received: by mail-qt0-f170.google.com with SMTP id x49so174322942qtc.2 for ; Sat, 28 Jan 2017 13:01:17 -0800 (PST) X-Gm-Message-State: AIkVDXJYnGUYj1tP928w/vxr8elqQxprr8LV5fePfCXyZXYIalY7V7s5mydpepcdVOCh3grxYnWzqv3dJiTcdg== X-Received: by 10.200.2.8 with SMTP id k8mr13439696qtg.163.1485637277313; Sat, 28 Jan 2017 13:01:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.144.132 with HTTP; Sat, 28 Jan 2017 13:01:16 -0800 (PST) In-Reply-To: References: <9113D065-B94A-4CA2-9420-56963C703ECA@gmail.com> Date: Sat, 28 Jan 2017 22:01:16 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Wes Cc: Rasmus Schultz , Rowan Collins , PHP Internals Content-Type: multipart/alternative; boundary=f403045e72d22df93905472de28f Subject: Re: [PHP-DEV] Not autoloading functions From: me@kelunik.com (Niklas Keller) --f403045e72d22df93905472de28f Content-Type: text/plain; charset=UTF-8 2017-01-28 21:37 GMT+01:00 Wes : > I suppose that is because they use just few functions. I don't think you > would want to have 20-30 functions in the same file :P > I wouldn't call these just a few functions: - https://github.com/nikic/iter/blob/master/src/iter.php - https://github.com/amphp/amp/blob/master/lib/functions.php You might want to have a look at https://github.com/search?p=1&q=extension%3Ajson+functions+autoload&ref=searchresults&type=Code&utf8=%E2%9C%93 Regards, Niklas --f403045e72d22df93905472de28f--