Bug #74493 [Opn->Ver]: var_export does not export a parsable string representation of stdClass objects
| From: | peehaa@php.net | Date: | Mon, 24 Apr 2017 08:04:37 +0000 |
| Subject: | Bug #74493 [Opn->Ver]: var_export does not export a parsable string representation of stdClass objects | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-25753@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74493&edit=1
ID: 74493
Updated by: peehaa@php.net
Reported by: php-bugs-2014-08 at dotancohen dot com
Summary: var_export does not export a parsable string
representation of stdClass objects
-Status: Open
+Status: Verified
Type: Bug
-Package: Class/Object related
+Package: Website problem
Operating System: Linux melancholy 3.13.0-34-gener
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The links jumps to de*limit*er. Basically the first *limit* param the JS sess.
Should probably be made more strict to only jump to exact matches.
Previous Comments:
------------------------------------------------------------------------
[2017-04-24 07:50:09] php-bugs-2014-08 at dotancohen dot com
Description:
------------
On the documentation page for the explode() function, inline links to "limit" scroll the
page to the description for "Delimiter".
http://php.net/manual/en/function.explode.php
Tested in Chrome 52 and Firefox 52 on CentOS 7.3.
Test script:
---------------
1) Open web page in web browser:
http://php.net/manual/en/function.explode.php
2) Locate on page text 'limit'. Notice that 'limit' is color #336699 which
indicates a link.
3) Click link.
EXPECTED
Page would scroll to 'limit' section.
ACTUALLY HAPPENS
Page scrolls to 'delimiter' section.
Expected result:
----------------
Page would scroll to 'limit' section.
Actual result:
--------------
Page scrolls to 'delimiter' section.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74493&edit=1