|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-09-14 11:47 UTC] spagmoid at yahoo dot com
Description: ------------ This is a difficult issue to search for dups on. Strings used with pipe OR "|" do something weird. Here it is: echo "146"|"2"; result is "346" echo (int)"146"|"2"; result is correct "146"; PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Here's your statement: "PHP has two string operators ('.' and '.=', RTFM). The result of using other operators on strings is undefined."