note 128815 added to function.array-map

From: Date: Sun, 20 Aug 2023 22:38:53 +0000
Subject: note 128815 added to function.array-map
Groups: php.notes 
Request: Send a blank email to php-notes+get-220777@lists.php.net to get a copy of this message
[elfe1021 at gmail dot com] wrote: "Find an interesting thing that in array_map's callable function, late static binding does not work" The problem is not array_map, but anonymous functions. I tested it and prior to PHP 5.6 late static bindings does not work using anonymous functions. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 77.108.7.29) ---- Manual Page -- https://php.net/manual/en/function.array-map.php Edit -- https://main.php.net/note/edit/128815 Del: integrated -- https://main.php.net/note/delete/128815/integrated Del: useless -- https://main.php.net/note/delete/128815/useless Del: bad code -- https://main.php.net/note/delete/128815/bad+code Del: spam -- https://main.php.net/note/delete/128815/spam Del: non-english -- https://main.php.net/note/delete/128815/non-english Del: in docs -- https://main.php.net/note/delete/128815/in+docs Del: other reasons-- https://main.php.net/note/delete/128815 Reject -- https://main.php.net/note/reject/128815 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220777) next »