Fixed the `testToPhpNumeric` & `testToPhpString` method