php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73992 unable to compare closures
Submitted: 2017-01-25 12:56 UTC Modified: -
From: markrashi at mail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-01-25 12:56 UTC] markrashi at mail dot com
Description:
------------
Would it be possible to add support for comparison operators on closures?

$a == $b would check if $a and $b will execute the same code and if they are both bound to the same $this and class scope?

thanks


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 01:01:27 2019 UTC