Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72572 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56047 invoked from network); 14 Feb 2014 00:17:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2014 00:17:53 -0000 Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.181 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 209.85.215.181 mail-ea0-f181.google.com Received: from [209.85.215.181] ([209.85.215.181:60380] helo=mail-ea0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/4E-09050-FA06DF25 for ; Thu, 13 Feb 2014 19:17:52 -0500 Received: by mail-ea0-f181.google.com with SMTP id k10so3238607eaj.12 for ; Thu, 13 Feb 2014 16:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8WaDjdfvwXujhkfUXdAhBG2Pb2GmXSmWubT/DFmPcBI=; b=IBcSkEmzZSfukmp+cGmgJ8Pg/rUxiugzl6LtuqQutcW5JIrVm/6tgpYv66uoVCaK1f aTO8N8LSbRgbuzEiyqXS/Zm201xlp9V3MwzmpzK5FkfcPemg3uAF/9OgYEyDSOZ0aU82 0g55h5LDgOW1eSNbReAXy0X7rHxSifrVYJ9egAiIu2PaJG7JzzOtIgjt8AyXlpxMv7us xdpzhD2W1+Hi4TIUxRm5Pf/HB5aJVeSameqw0BvOR1a0ROd5yG8p8CWx7XYv0V6R2Avf duBVTxYMc2P6xNk48aGIbGpUfrF1/86XiN08w3yG6keMCuk0p6KGOtcsB17UuN5Tghnh nLbQ== X-Received: by 10.14.103.134 with SMTP id f6mr5126105eeg.41.1392337067897; Thu, 13 Feb 2014 16:17:47 -0800 (PST) Received: from [192.168.200.19] (ip-109-85-23-235.web.vodafone.de. [109.85.23.235]) by mx.google.com with ESMTPSA id x6sm12967234eew.20.2014.02.13.16.17.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 16:17:47 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) In-Reply-To: <1392332641.3990.109.camel@guybrush> Date: Fri, 14 Feb 2014 01:17:44 +0100 Cc: Nikita Popov , internals Content-Transfer-Encoding: quoted-printable Message-ID: <60CCD000-56E9-400D-A1AF-029E45B4338B@googlemail.com> References: <1392332641.3990.109.camel@guybrush> To: =?windows-1252?Q?Johannes_Schl=FCter?= X-Mailer: Apple Mail (2.1822) Subject: Re: [PHP-DEV] When will the extension and embedding APIs ever be cleaned or documented? From: ingwie2000@googlemail.com (Kevin Ingwersen) Am Fr. Feb. 14 2014 00:04:01 schrieb Johannes Schl=FCter: > Mind: "Compatibility is a feature." (Bjarne Stroustrup) The fact that = 10 > years old extensions can be used with php git master with quite little > work is not only a help for old users but also promise to new users = that > their investment won't be lost easily. But what if there was something like a wrapper above the old api, to = give it a cleaner appearance, so people could choose to work with the = newer, or older, API? BTW, in the API =84book=93, I dont find what I am looking for; storing a = forgein thing into the object. Like if I was to write a PHP module that = exports a PHP class, I would like to create a class instance to a C++ = class, and store that instance within the php object (struct?). Like: zval* this =3D getThis(); MyClass* mc =3D (MyClass*)get_pointer_from_zvalthis); And, well, vice-versa. Otherwise, that phpinternalsbook is very detailed, and I like how its = written :) Although its no real PHP project - why not just link it in the php.net = docs? o.o=