When I use:
Inflector::slug("My Lovely & long slug");
On my local server I get:
My_Lovely_long_slug
When I use it on my server I get:
Lo_l_lo_lu
What gives? This issue is also affecting all my cache names which I assume are using the Inflector class. Any help appreciated.
looks like to different versions of cake? ive seen this reported before but dont have any references for you. Tested on my server for ~ 1.3.6/7 and it works as expected.
if the versions of cake are the same try and do a 'git bisect' which will give you an answer pretty quick
update:
seems to do with your PCRE libraries installed on the server that are older etc. give them an update and all should be fine