Title: lcfirst() and php
Last modified: August 20, 2016

---

# lcfirst() and php

 *  Resolved [yellowsub](https://wordpress.org/support/users/yellowsub/)
 * (@yellowsub)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/lcfirst-and-php/)
 * Hi
 * The plugin doesn’t work with php < 5.3 due to the lcfirst function which is not
   supported by php < 5.3.
 * shashinAutoLoader.php line 30
 *  // shashin has lower-case directory names
    if (strpos($classPath, ‘/’) !== false){
   $classPath = lcfirst($classPath); }
 * Probably substr would be the easiest fix, as many have pointed out in case of
   similar issues.
 * Regards,
 * K
 * [http://wordpress.org/extend/plugins/shashin/](http://wordpress.org/extend/plugins/shashin/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/lcfirst-and-php/#post-3592001)
 * Thanks for posting this so quickly. I didn’t notice that lcfirst was PHP 5.3 
   only. I’ve uploaded a new version that no longer uses it.

Viewing 1 replies (of 1 total)

The topic ‘lcfirst() and php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shashin.svg)
 * [Shashin](https://wordpress.org/plugins/shashin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shashin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shashin/)
 * [Active Topics](https://wordpress.org/support/plugin/shashin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shashin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shashin/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/lcfirst-and-php/#post-3592001)
 * Status: resolved