note 126131 added to function.call-user-func-array

From: Date: Wed, 02 Jun 2021 04:40:06 +0000
Subject: note 126131 added to function.call-user-func-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-216461@lists.php.net to get a copy of this message
Already mentioned above for older php 5.x versions, but I want to add another comment about php 7.x crashing with a segfault / segmentation fault if you attempt to do the following: <?php // Segfault! call_user_function([$this, 'parent::someMethod']) ?> Extremely painful to track down as sometimes it seems to work ok, but other times it fails ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 202.95.77.83) ---- Manual Page -- https://php.net/manual/en/function.call-user-func-array.php Edit -- https://main.php.net/note/edit/126131 Del: integrated -- https://main.php.net/note/delete/126131/integrated Del: useless -- https://main.php.net/note/delete/126131/useless Del: bad code -- https://main.php.net/note/delete/126131/bad+code Del: spam -- https://main.php.net/note/delete/126131/spam Del: non-english -- https://main.php.net/note/delete/126131/non-english Del: in docs -- https://main.php.net/note/delete/126131/in+docs Del: other reasons-- https://main.php.net/note/delete/126131 Reject -- https://main.php.net/note/reject/126131 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216461) next »