Doc #76352 [Nab]: when as a key word for PHP

From: Date: Fri, 18 May 2018 00:41:01 +0000
Subject: Doc #76352 [Nab]: when as a key word for PHP
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15696@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76352&edit=1 ID: 76352 User updated by: olgamg at tpg dot com dot au Reported by: olgamg at tpg dot com dot au Summary: when as a key word for PHP Status: Not a bug Type: Documentation Problem Package: Online Doc Editor problem Operating System: windows 10 PHP Version: 7.1.17 Block user comment: N Private report: N New Comment: I am looking exactly at http://www.php.net/reserved.keywords (not my "home manual". And I see only one reserved.keyword started with letter W and this is while. I do not see another word started with letter w at all. Then where can I find if when is or is not the keywords reserved. Sorry about the confusion. Previous Comments: ------------------------------------------------------------------------ [2018-05-17 21:12:00] peehaa@php.net I guess you are looking for the documentation of your database system instead. ------------------------------------------------------------------------ [2018-05-17 21:01:42] olgamg at tpg dot com dot au Description: ------------ --- From manual page: http://www.php.net/reserved.keywords --- I'd created table with field named => when =>, during simple INSERT all the time syntax error => After changing field name when => wheny (yes, really weird word) no problems at all. I do not see =>when => listed as a Key word in the List of Keywords for PHP. Maybe someone will check it, if the => when => word is another new key word of the PHP. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76352&edit=1

« previous php.doc.bugs (#15696) next »