From c25d0d707ac368c7db408fa76d91409d72f185e4 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 11 Jul 2022 16:38:29 +1200 Subject: Minor PHP documentation improvements --- Doc/Manual/Php.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'Doc') diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html index 419e87b50..51ef01c51 100644 --- a/Doc/Manual/Php.html +++ b/Doc/Manual/Php.html @@ -307,11 +307,10 @@ functions.

-SWIG honors the %immutable modifier by not generating code -for the _set method. This provides read-only access to the -variable from the php script. Attempting to access the _set -method will result in a php fatal error because the function is -undefined. +SWIG honors the %immutable modifier by not generating a +_set method (so attempting to call it will give a PHP fatal +error). A _get method is still generated so this provides read-only +access to the variable from the PHP script.

@@ -700,8 +699,7 @@ Member variables and methods are accessed using the -> operator.

The -noproxy option flattens the object structure and -generates collections of named functions (these are the functions -which the PHP class wrappers call). The above example results +generates collections of named functions. The above example results in the following PHP functions:

-- cgit v1.2.1