Req #74316 [Opn->Dup]: i need a function __toInt

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=74316&edit=1

 ID:                 74316
 Updated by:         [email protected]
 Reported by:        xltxlm at qq dot com
 Summary:            i need a function __toInt
-Status:             Open
+Status:             Duplicate
 Type:               Feature/Change Request
-Package:            PHP Language Specification
+Package:            Scripting Engine problem
 Operating System:   window 10
 PHP Version:        7.1.3
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

This appears to be a duplicate of bug #74289.


Previous Comments:
------------------------------------------------------------------------
[2017-03-27 04:46:11] xltxlm at qq dot com

Description:
------------
sorry for my Poor English. i'am a chinese.


this is ok

https://gist.github.com/anonymous/2cd04f8d57866f4419abf821170ba370

this is not ok

https://gist.github.com/anonymous/a1d1b5d5fed9148ac17de9df5a5c6937




Expected result:
----------------
it can run normal 
https://gist.github.com/anonymous/a1d1b5d5fed9148ac17de9df5a5c6937




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74316&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.