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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: markrashi at mail dot com
New email:
PHP Version: OS:

 

 [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: Mon Sep 16 02:01:26 2019 UTC