The Small PHP Script Worked Big

I was worried about my WordPress post tags that were in small case and looks ugly in google search, as shown below

it was too much about 2000 tags that I have to convert into the proper case. i just created a small script, shown below

now all WordPress post tags converted into the proper case and everything is fine