Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76117 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85509 invoked from network); 25 Jul 2014 12:57:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2014 12:57:10 -0000 Authentication-Results: pb1.pair.com header.from=gaochunhui@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=gaochunhui@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: gaochunhui@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:46236] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/C1-08559-22452D35 for ; Fri, 25 Jul 2014 08:57:07 -0400 Received: by mail-pa0-f51.google.com with SMTP id ey11so6012353pad.24 for ; Fri, 25 Jul 2014 05:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:from:to:references:in-reply-to:subject:date:organization :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=neTK0MtV9GInOmqfUDQS7rbXCjrSYriIyUFuxo/YuB4=; b=otEYcm9jaWgrPeKwnAg+pr+abU9PxwjjWRHr3ac8zW14ZOJPKAVv0BI3cEw2+wPnGN GoW1qqCpx1KvIHPL77dzWwp4JsPxBYojpaF/7bTR6bEI3xLxhdicWyTWfynrohgGz2Gl 5THO36AELThLO9mvhDiidDAxkl3RXlAeGg+/7AoqLK1IqCdaU+cg4CZ2U4iO5lWTB3iD In7JOV3ktb4t7+idJdKMNO2V+8XCraEK0xP3mp9idwjC5nCa+JP8DPUSXqW08Iq5Fq2E AH6phJ8Qh0fW3HlmlC/NEDuSzWguirw9OvoKRjdejlmPbd6US6jR+q11CNea1vEV/RVH UIFA== X-Received: by 10.70.129.81 with SMTP id nu17mr18804790pdb.56.1406293029664; Fri, 25 Jul 2014 05:57:09 -0700 (PDT) Received: from W540 ([114.248.195.151]) by mx.google.com with ESMTPSA id cr4sm8779968pbb.86.2014.07.25.05.57.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Jul 2014 05:57:09 -0700 (PDT) Reply-To: To: "'Laruence'" , "'PHP Internals'" References: In-Reply-To: Date: Fri, 25 Jul 2014 20:57:05 +0800 Organization: =?utf-8?B?6auY5pil6L6J?= Message-ID: <000201cfa807$f206e7d0$d614b770$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQCRIHWVL/9muke8Gs8YMcgWB5aJL54tzsUA Content-Language: zh-cn Subject: =?utf-8?Q?=E7=AD=94=E5=A4=8D:_=5BPHP-DEV=5D_About_PHP_NG_=22docu?= =?utf-8?Q?ment_lacking=22_argument?= From: gaochunhui@gmail.com (=?utf-8?B?6auY5pil6L6J?=) +1024... :-) -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA: laruence@gmail.com = [mailto:laruence@gmail.com] =E4=BB=A3=E8=A1=A8 Laruence =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B47=E6=9C=8825=E6=97=A5 = 14:57 =E6=94=B6=E4=BB=B6=E4=BA=BA: PHP Internals =E4=B8=BB=E9=A2=98: [PHP-DEV] About PHP NG "document lacking" argument Hey: First of all, I don't want to make *that* thead longer... as you can see, some devers says critically phpng is lacking of = document, and they make that as the main reason for them to against = phpng. I have to say, in my opinion it's totally ridiculous. 1. how many devers in here really knows zend engine? how many tried = to know it? I assume a little, as you can see, only a few activate zend = engine maintainers now. dmitry is the most experience one. 2. does PHP really has had a good API document? no, when I first tried to write a extension, I found no = documents, or they was far beyond outdate, I event don't know how config.m4 works.. I learn PHP by reading the codes, and the example under ext/* 3. is document really important for PHPng? I don't think so, PHP can always read the codes, PHP is = opensource , it is not *MS* who need document to tell people what it did = in dark. 4. is PHPng API became more ugly? or harder to maintainable? I feel really bad to see somebody said such things... first of all. ugly, maintainable. it is too too subjective, and = to be honest, it's obviously biased attitude. second, I , the main author of PHPNG, and Nikita, Dmitry, are = the most activate internal contributors now. so you are saying we are = writing ugly codes? I really can not agree with that. actually, the zend_hash API become more clear, and beatifuy = than before. maintainable? who is the main force to maintain the PHP = internal now? yes, the authors of PHPNG.. I think I have the more rights to say whether it is more = maintainer able or not. and it's become more maintainable, because of more clean API = and more reasonable logics. 5. are we going to write docs? yes, for people, who in love with PHP, who want to make PHP = extensions, we are glad to write some APIs (which will be enough in a = dever eye). actually we already doing it: = https://wiki.php.net/phpng-upgrading 6. is PHPng really faster? yes, from my own test, it get more than 80% qps improvement in = wordpress than php-5.6 . for those big PHP users, that means they can = save lots of money. I see no reason to not have such a great change. anyone who = tried to block such a amazing feature merge into PHP, is doing crime for = PHP. I am not a native english speaker, so maybe I confused you in some = words , sorry for that. I really hope the people in this group, the people who loves PHP, the = people who want PHP become more popular here. stop less reasonable = arguing, let's together to make this biggest change merge into PHP, make = PHP users more easy life.. If you think we need write doc, let us write it. If you think we need more clean APIs? please tell me what style is = more clean, we can disccuss it, refactor it. If you meet problems when you try to upgrade you extension from PHP = to PHPng, let's add more info into the doc, or I can do some part of = your work for you. as I have almost refactor all the extensions under = ext/ and what do you want else? please, just, please, stop the worthless talking, I really don't want = to see such useless words anymore.. thanks -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: http://www.php.net/unsub.php