This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Get the char code from a multi byte char | |
| * | |
| * 2/3 times faster than the old implementation | |
| * | |
| * @param $mb_char string Unicode Multibyte Char String | |
| * | |
| * @return int |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author Domenico Lupinetti ostico@gmail.com | |
| * Date: 11/04/16 | |
| * Time: 19.52 | |
| * | |
| * The try block is executed but the comparison are made on Exporter::toArray() | |
| * and if the object has no properties $expected and $actual are equals but refers to two different instances | |
| * ( tried with PDO as example ) | |
| * |
NewerOlder