PHP Classes

File: tests/profile.php

Recommend this page to a friend!
  Classes of Lars Moelleken   PHP URLify   tests/profile.php   Download  
File: tests/profile.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP URLify
Transliterate non-ASCII characters
Author: By
Last change: [+]: fix "maxLength" usage
[+]: use phpcs fixer
[+]: add support for "Kazakh" and "Slovak"
Date: 5 years ago
Size: 206 bytes
 

Contents

Class file image Download
<?php

use voku\helper\URLify;

require_once \
dirname(__DIR__) . '/vendor/autoload.php';

for (
$i = 0; $i <= 10000; ++$i) {
   
$str = '<h2>testing<br />öäü</h2>';
   
$str_new = URLify::filter($str);
}