From 95821b7a04f60ea70be6b997139f31dbaeee75f6 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 18 May 2012 02:19:46 +0000 Subject: [PATCH] Note that technique relying on call-time pass by reference won't work with PHP 5.4. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13094 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Doc/Manual/Php.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html index 659fb0a89..76031d07e 100644 --- a/Doc/Manual/Php.html +++ b/Doc/Manual/Php.html @@ -506,6 +506,12 @@ this, one needs to include phppointers.i which defines the named typemap REFERENCE.

+

+However, this relies on call-time pass-by-reference, which has been +deprecated in PHP for some time, and was finally removed in PHP 5.4. +So you should avoid creating new wrappers which rely on this approach. +

+
 %module example
 %include "phppointers.i"