PHP Classes

File: tests/Utf8RtrimTest.php

Recommend this page to a friend!
  Classes of Lars Moelleken   Portable UTF-8   tests/Utf8RtrimTest.php  
File: tests/Utf8RtrimTest.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: 2,043 bytes

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

Login Immediately with your account on: