PHP Manual .chm index functionality not working as expected
Asked Answered
S

4

6

When I started working with PHP (like 10 years ago) the main thing that won me over, is the manual in .chm format. I used to keep the "Index" tab open, and type in there anything I needed and it'll direct me to a nice, concise but exhaustive reference page.

Now, today, I wanted to refresh my memory with some of the properties of isset(), so I typed it in the Index, but nothing relevant appeared. See for yourself in the screenshot below.

I had to find the page through the "Search" tab, which is less convenient.

I've noticed a similar issue before, but I ignored it. So, before posting a bug report or php.net, anyone knows what's happening here? Am I the only one with this problem, or is this another one of PHP's "improvements"?

PHP manual (.chm) version after typing "isset" in the Index search box

Sandstorm answered 6/6, 2013 at 15:43 Comment(5)
Downloaded the file right now, same problem. Tried the english and the german chm. I suppose they somehow tagged the isset article the wrong way so it doesn't appear in the index. So, I'd say, the chm is not complete. You may search directly on their website, though (php.net/manual/en/function.isset.php) which is quite convenient. If you're online, that is.Declass
It also happened with strtr() and I have the feeling I'll find many other functions missing in the index if I try... The CHM is more convenient because it can be kept in a smaller window, can be directly called from the taskbar (under Windows), and is substantially faster, especially on dodgy connections like mine. Thanks anyway! I'm relieved (and deceived at the same time) to know that it's not a unique problem with my setup.Sandstorm
Perhaps you can download the html offline documentation; I never tried working with it, but perhaps you can search there too. You could open these html docs in a separate browser window (or even a completely other browser to distinguish between the help and your normal work) and then taskswitch there, too.Declass
This is a doc bug, see bugs.php.net/bug.php?id=64842, I have this problem in the newest version tooCoinage
But not problem when I using a 2012 versionCoinage
V
3

This is a known bug. please vote on it, hopefully it'll get fixed. https://bugs.php.net/bug.php?id=64842

Vitrics answered 20/6, 2013 at 20:18 Comment(1)
Thank you! That's a definitive answer.Sandstorm
E
1

The problem is that the index doesn't include Variable handling Functions.

I guess thats because isset(), unset(), empty(), etc are not actual php functions but language constructs, and are therefor not included in the index.

Another reason they are different is because they cannot be called with variable functions

Erotic answered 12/6, 2013 at 11:21 Comment(2)
What about strtr()? It doesn't show up either. Are you able to reproduce the problem?Sandstorm
Ok, so they definitly forgot to include certain parts. strstr is part of the string functions (nl1.php.net/manual/en/ref.strings.php) and none of them show up. But if you use the index to find string and click String operators, there is a reference to the string functions which is also broken. So it doesnt look like its intended.Erotic
B
0

Index is created automatically on CHM files. It uses a keyword in a page to make its entry in index.

Refer to this link, if you want more information.

Breechloader answered 19/6, 2013 at 8:5 Comment(0)
A
0

Here you could download an older version of the php manual in chm format.

If you have Windows XP or better you should right click on the chm and press the unlock button.

http://www.putlocker.com/file/DF8ED2618E418D83

Artistic answered 9/7, 2013 at 12:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.