note 124980 added to function.yaml-parse-file

From: Date: Wed, 06 May 2020 03:21:23 +0000
Subject: note 124980 added to function.yaml-parse-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-214583@lists.php.net to get a copy of this message
Be aware that when parsing yaml an unquoted Y value will become a boolean true This may be desired or undesired behavior depending on context - chr_name: X // becomes string X - chr_name: Y // becomes boolean true [ [chr_name => X], [chr_name => true], ] You definitely don't want chromosome Y becoming chromosome 1 (true) as happened to me, so heads up! ---- Server IP: 45.112.84.4 Probable Submitter: 38.142.137.34 (proxied: 65.28.248.83) ---- Manual Page -- http://php.net/manual/en/function.yaml-parse-file.php Edit -- https://master.php.net/note/edit/124980 Del: integrated -- https://master.php.net/note/delete/124980/integrated Del: useless -- https://master.php.net/note/delete/124980/useless Del: bad code -- https://master.php.net/note/delete/124980/bad+code Del: spam -- https://master.php.net/note/delete/124980/spam Del: non-english -- https://master.php.net/note/delete/124980/non-english Del: in docs -- https://master.php.net/note/delete/124980/in+docs Del: other reasons-- https://master.php.net/note/delete/124980 Reject -- https://master.php.net/note/reject/124980 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214583) next »