PHP Classes

File: docs/known-issues.md

Recommend this page to a friend!
  Classes of jawira   PHP Case Convert   docs/known-issues.md   Download  
File: docs/known-issues.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Case Convert
Convert strings between many naming conventions
Author: By
Last change:
Date: 4 years ago
Size: 728 bytes
 

Contents

Class file image Download

Known issues

Number is not a word

When using case-converter you cannot use a number as separator. In practice this means that a number is not considered as a word:

Phing targets

As shown in the previous example, there is no way to go back to the original input string (i.e. hello-8-world), in _kebab case_ this sting is written as hello8-world.

Other example:

| Code | Output | | ----------------------------- | ----------------- | | $name->toDot('REEL2REAL'); | r.e.e.l2.r.e.a.l | | $name->toDot('reel2real'); | reel2real | | $name->toDot('Reel2Real'); | reel2.real |