Doc #80059 [NEW]: Lowercase true/false should be used in code examples

From: Date: Fri, 04 Sep 2020 11:51:44 +0000
Subject: Doc #80059 [NEW]: Lowercase true/false should be used in code examples
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17861@lists.php.net to get a copy of this message
From:             t dot motylewski at gmail dot com
Operating system: 
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Documentation Problem
Bug description:Lowercase true/false should be used in code examples

Description:
------------
---
From manual page: https://php.net/language.types.boolean
---

According to PSR, boolean values should be written lowercase, eg.

$foo = false; 

and not 

$foo = FLASE;

Right now in many places in docs uppercase values are used, which
confuses new users.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=80059&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80059&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80059&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80059&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80059&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80059&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80059&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80059&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80059&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80059&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80059&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80059&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80059&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80059&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80059&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80059&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80059&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80059&r=mysqlcfg


Thread (7 messages)

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