[symfony-users] routing creates variable value true when no trailing slash

2010-04-23 Thread Tofuwarrior
Hi all, I guess this is simple lack of understanding but it is a bit peculiar. Any insights, answers pointers to further readng gratefully received. I haven't found any answers in the docs anywhere. In my app, this .com/folder/tree/id creates request variable id=boolean(true) whereas this

Re: [symfony-users] routing creates variable value true when no trailing slash

2010-04-23 Thread Gareth McCumskey
Look at this piece of code: $a = 1; $b = 0; if ($a == true) echo I am true if ($b == false) echo I am false results in I am true and I am false both being echoed. However: if ($a === true) echo I am true if ($b === false) echo I am false does not On Fri, Apr 23, 2010 at 11:15 AM, Tofuwarrior