Req #76570 [Nab]: An uncondition
| From: | iyagicom at gmail dot com | Date: | Tue, 03 Jul 2018 12:42:35 +0000 |
| Subject: | Req #76570 [Nab]: An uncondition | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216105@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76570&edit=1
ID: 76570
User updated by: iyagicom at gmail dot com
Reported by: iyagicom at gmail dot com
Summary: An uncondition
Status: Not a bug
Type: Feature/Change Request
Package: Variables related
Operating System: ubuntu 18.04
PHP Version: 7.1.19
Block user comment: N
Private report: N
New Comment:
I know it.
I'm not saying that.
If you write an uppercase letter as the first character in a constant grammar,
You do not have to do that.
Is not that right?
I mean, do not treat lowercase letters as constants.
Previous Comments:
------------------------------------------------------------------------
[2018-07-03 07:17:44] requinix@php.net
No, constants can be in lowercase.
You need a string for the array key. Strings use quotes.
$arr = preg_split("/-/",$f["link"]);
------------------------------------------------------------------------
[2018-07-03 07:11:57] iyagicom at gmail dot com
Description:
------------
The first letter lowercase is not a constant.
Only the first capital letter should be recognized as a constant.
I am too stressed because of constants in program coding.
I hope to improve soon.
I made it in lowercase, but I get an error.
Notice: Use of undefined constant link - assumed 'link' in /home/mall/phpmall/cc_list.php
on line 83
Test script:
---------------
$arr = preg_split("/-/",$f[link]);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76570&edit=1