|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2015-10-03 22:56 UTC] bwoebi@php.net
 
-Status:      Open
+Status:      Assigned
-Assigned To:
+Assigned To: bwoebi
  [2015-10-03 23:43 UTC] bwoebi@php.net
  [2015-10-03 23:43 UTC] bwoebi@php.net
 
-Status: Assigned
+Status: Closed
  [2015-10-03 23:44 UTC] bwoebi@php.net
  [2015-10-06 22:51 UTC] dmitry@php.net
  [2015-10-09 08:49 UTC] dmitry@php.net
  [2015-10-13 10:12 UTC] ab@php.net
  [2015-10-13 10:12 UTC] ab@php.net
  [2015-10-13 10:12 UTC] ab@php.net
  [2015-10-19 08:43 UTC] lisachenko dot it at gmail dot com
  [2016-07-20 11:36 UTC] davey@php.net
  [2016-07-20 11:36 UTC] davey@php.net
  [2016-07-20 11:36 UTC] davey@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ Closure::call() and Closure::bind() on functions (userland or internal) crash, when the functions are raw functions without class/scope context. Test script: --------------- class a {} $x = (new ReflectionFunction("substr"))->getClosure(); $x->call(new a); // or Closure::bind($x, new a, "a"); Expected result: ---------------- Warning: Cannot bind closure of a function to an object Actual result: -------------- Segmentation Fault