diff options
author | Olly Betts <olly@survex.com> | 2022-07-11 16:38:29 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-07-11 16:39:17 +1200 |
commit | c25d0d707ac368c7db408fa76d91409d72f185e4 (patch) | |
tree | 948b76d5b056f1b2095fe1dd6da572d4e7b85321 /Doc | |
parent | 63c681a5139050b0e44fd9a7cf79bd5eee538916 (diff) | |
download | swig-c25d0d707ac368c7db408fa76d91409d72f185e4.tar.gz |
Minor PHP documentation improvements
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Php.html | 12 |
1 files changed, 5 insertions, 7 deletions
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. </p> <p> -SWIG honors the <tt>%immutable</tt> modifier by not generating code -for the <tt>_set</tt> method. This provides read-only access to the -variable from the php script. Attempting to access the <tt>_set</tt> -method will result in a php fatal error because the function is -undefined. +SWIG honors the <tt>%immutable</tt> modifier by not generating a +<tt>_set</tt> method (so attempting to call it will give a PHP fatal +error). A <tt>_get</tt> method is still generated so this provides read-only +access to the variable from the PHP script. </p> <p> @@ -700,8 +699,7 @@ Member variables and methods are accessed using the <tt>-></tt> operator. <p> The <tt>-noproxy</tt> 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: </p> |