PHP Classes

File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/split_utf8.test

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   Lego PHP   Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/split_utf8.test   Download  
File: Library/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/split_utf8.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lego PHP
Blog and shopping cart system
Author: By
Last change:
Date: 7 years ago
Size: 520 bytes
 

Contents

Class file image Download
--TEST-- "split" filter --CONDITION-- function_exists('mb_get_info') --TEMPLATE-- {{ "é"|split('', 10)|join('-') }} {{ foo|split(',')|join('-') }} {{ foo|split(',', 1)|join('-') }} {{ foo|split(',', 2)|join('-') }} {{ foo|split(',', 3)|join('-') }} {{ baz|split('')|join('-') }} {{ baz|split('', 1)|join('-') }} {{ baz|split('', 2)|join('-') }} --DATA-- return array('foo' => 'Ä,é,Ä?', 'baz' => 'éÄß?a',) --EXPECT-- é Ä-é-Ä? Ä,é,Ä? Ä-é,Ä? Ä-é-Ä? é-Ä-ß-?-a é-Ä-ß-?-a éÄ-ß?-a