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: Duplicate
+Status: Suspended
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: window 10
PHP Version: 7.1.3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Oops, didn't really read the subject line! A magic ::__toInt()
method would require the RFC process, so feel free to start it[1]!
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2017-03-27 17:36:09] [email protected]
This appears to be a duplicate of bug #74289.
------------------------------------------------------------------------
[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.