From 9a06fcaef71d8b777e1ff9a43ce3f54256fd4e76 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sat, 23 Oct 2010 06:30:25 +0000 Subject: [PATCH] Fixed bug #51923 (Documentation does not mention changes to return type of shm_attach) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304639 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/sem/functions/shm-attach.xml | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/reference/sem/functions/shm-attach.xml b/reference/sem/functions/shm-attach.xml index c9c3b9e5d0..e644ca591a 100644 --- a/reference/sem/functions/shm-attach.xml +++ b/reference/sem/functions/shm-attach.xml @@ -71,6 +71,70 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.0 + + This function now returns a resource instead of an + integer. + + + + + + + + + + &reftitle.notes; + + + As this function used to return an integer value prior to + PHP 5.3.0. To achieve the same value in a portable value the + return value can be cast to an integer like: + + + + + +]]> + + + + + + &reftitle.seealso;