mtoken work without quotes too, so it wont brake anything. Just need to update documentation. to use quotes.
I didn't tested it but those should do the same in current AIKI because str_replace use mtoken. <php str_replace(foo, bar, ((text)) ); php> <php str_replace("foo", "bar", "((text))"); php> -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/871919 Title: String should look like strings in php Status in Aiki Framework: New Bug description: There is mtoken function in php class that split string to array and it recognize if strings are in quotes. we should use this function in every php function. For instance API don't use that function so you can't use this <php $aiki->foo->bar("foo", "baz"); php> and we should update all documentation to show to use quotes (strings without quotes look weird) currently substr and str_replace/replace use mtoken releated bug https://bugs.launchpad.net/aikiframework/+bug/871905 To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/871919/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp