The script finder.php
finds the longest function-, class- and interface-names. I also added the longest constant.
Results of every all PHP versions from 5.0 to 7, including hhvm
Example output of the script finder.php
below
PHP Version: 5.5.10
OS: Darwin
- [55] sodium_crypto_sign_keypair_from_secretkey_and_publickey
- [54] sodium_crypto_box_keypair_from_secretkey_and_publickey
- [52] sodium_crypto_pwhash_scryptsalsa208sha256_str_verify
- [48] sodium_crypto_aead_chacha20poly1305_ietf_decrypt
- [48] sodium_crypto_aead_chacha20poly1305_ietf_encrypt
- [47] sodium_crypto_aead_chacha20poly1305_ietf_keygen
- [45] sodium_crypto_pwhash_scryptsalsa208sha256_str
- [43] sodium_crypto_aead_chacha20poly1305_decrypt
- [43] sodium_crypto_aead_chacha20poly1305_encrypt
- [43] sodium_crypto_sign_ed25519_pk_to_curve25519
- [62] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE
- [62] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE
- [60] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE
- [60] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE
- [51] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES
- [51] SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX
- [50] SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES
- [50] SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES
- [49] SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES
- [47] SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES
- [31] RecursiveCallbackFilterIterator
- [26] RecursiveDirectoryIterator
- [26] ReflectionFunctionAbstract
- [26] ReflectionIntersectionType
- [26] IntlRuleBasedBreakIterator
- [26] IntlCodePointBreakIterator
- [25] RecursiveIteratorIterator
- [24] ClosedGeneratorException
- [24] DOMProcessingInstruction
- [24] BadFunctionCallException
- [38] SessionUpdateTimestampHandlerInterface
- [23] SessionHandlerInterface
- [18] SessionIdInterface
- [17] IteratorAggregate
- [17] DateTimeInterface
- [17] RecursiveIterator
- [16] JsonSerializable
- [16] SeekableIterator
- [13] DOMParentNode
- [13] OuterIterator
inspired by Quotation/LongestCocoa