note 116006 deleted from function.substr by peehaa

From: Date: Mon, 28 Nov 2016 19:42:18 +0000
Subject: note 116006 deleted from function.substr by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207711@lists.php.net to get a copy of this message
Note Submitter: jjanak at webperfection dot net ---- interesting and maybe not so obvious behavior: print substr('\\test', 2); // est print substr('\\test',1); // test if you take a closer look you will realize that the backslash was escaped, still i think it's interesting to mention :)

« previous php.notes (#207711) next »