PHP Classes

File: tests/Utf8TrimTest.php

Recommend this page to a friend!
  Classes of Lars Moelleken   Portable UTF-8   tests/Utf8TrimTest.php  
File: tests/Utf8TrimTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Portable UTF-8
Manipulate UTF-8 text strings in pure PHP
Author: By
Last change: styleci issues
trim('0002', '0') returns '0002'
expected is '2'

(bool)('0') is false

the same problem is in ltrim and rtrim
Date: 2 years ago
Size: 904 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: