<?php
$start = microtime(true);
$string = 'JavaSCRIPT and pHp are testing test-ground for TEST !';
$censor = ['php' => 2,'javascript' => 2,'test' => 3];
foreach ($censor as $word => $position) {
while (($pos = stripos($string, $word)) !== false) {
$string = substr_replace($string, '*', $pos + $position - 1, 1);
}
}
echo $string;
$end = (microtime(true));
echo '<br />';
echo $end - $start;
- Output for 5.5.6, 7.3.11, 7.4.0
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.887580871582E-5
- Output for 5.6.8 - 5.6.9, 7.0.7, 7.3.12
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.1007995605469E-5
- Output for 5.5.20, 5.6.11, 5.6.22, 7.0.5, 7.3.10
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.7922134399414E-5
- Output for 5.4.32, 7.3.9
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.4121017456055E-5
- Output for 7.0.14, 7.1.13, 7.1.24, 7.1.29, 7.2.17, 7.2.22, 7.3.8
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.6001205444336E-5
- Output for 7.2.11, 7.2.13, 7.3.7
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.9815902709961E-5
- Output for 7.2.23, 7.3.6
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.8862228393555E-5
- Output for 7.0.12, 7.0.17, 7.0.23, 7.0.31, 7.2.8, 7.3.5
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.1021575927734E-5
- Output for 7.3.4
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />2.9087066650391E-5
- Output for 5.6.23, 7.2.15, 7.3.3
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.2928924560547E-5
- Output for 7.0.1, 7.2.19, 7.3.2
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.4093856811523E-5
- Output for 5.4.19, 5.5.12, 5.6.3, 5.6.24, 7.0.24, 7.1.23, 7.1.27, 7.1.32, 7.3.1
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.1961669921875E-5
- Output for 7.0.16, 7.1.5, 7.1.14, 7.3.0
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.504753112793E-5
- Output for 7.2.25
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.5789947509766E-5
- Output for 5.5.5, 5.6.4, 7.0.0, 7.2.12, 7.2.24
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.3153762817383E-5
- Output for 7.1.0, 7.2.21
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.4809112548828E-5
- Output for 5.6.14, 7.0.29, 7.2.16, 7.2.20
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.814697265625E-5
- Output for 7.2.18
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.2186508178711E-5
- Output for 7.2.14
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.2915344238281E-5
- Output for 7.2.10
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.3167343139648E-5
- Output for 7.2.9
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.0067901611328E-5
- Output for 5.5.3, 7.0.8, 7.0.27, 7.1.10, 7.1.15, 7.1.18, 7.2.1, 7.2.7
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.0054321289062E-5
- Output for 5.4.18, 5.5.11, 7.2.6
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.6055526733398E-5
- Output for 5.4.39, 7.2.5
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.2002410888672E-5
- Output for 5.4.23, 5.4.30, 5.5.17, 5.5.23, 5.5.35, 5.6.12, 7.0.32, 7.2.4
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.5061111450195E-5
- Output for 5.4.17, 5.4.37, 5.5.1, 5.6.13, 7.1.2, 7.2.3
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.9843063354492E-5
- Output for 7.0.19, 7.1.26, 7.2.2
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.7908554077148E-5
- Output for 7.2.0
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.3869018554688E-5
- Output for 5.4.22, 5.5.30 - 5.5.31, 5.5.38, 7.1.33
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.1988830566406E-5
- Output for 5.5.10, 5.6.6, 7.1.31
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.1975250244141E-5
- Output for 5.4.4, 5.4.41, 5.6.34, 7.1.30
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.6041946411133E-5
- Output for 5.4.12, 5.5.8, 5.5.13, 5.5.19, 5.5.34, 5.6.27, 5.6.37, 5.6.40, 7.0.11, 7.0.20, 7.1.12, 7.1.28
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.6014785766602E-5
- Output for 5.4.8, 5.6.1, 7.1.25
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.9127807617188E-5
- Output for 7.0.6, 7.1.22
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.0081481933594E-5
- Output for 7.0.9, 7.0.21, 7.0.28, 7.0.33, 7.1.21
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.1948089599609E-5
- Output for 7.1.20
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.9829483032227E-5
- Output for 7.1.19
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.3896179199219E-5
- Output for 5.5.18, 7.1.17
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.4836273193359E-5
- Output for 5.5.22, 5.5.32, 7.1.16
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.6028366088867E-5
- Output for 5.5.0, 5.5.16, 5.5.25, 5.6.32, 7.1.11
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.4107437133789E-5
- Output for 5.5.33, 7.1.9
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.5074691772461E-5
- Output for 7.0.30, 7.1.8
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.3140182495117E-5
- Output for 5.5.29, 5.6.16, 5.6.31, 7.1.6 - 7.1.7
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.6995620727539E-5
- Output for 5.4.10, 7.1.4
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.103515625E-5
- Output for 7.1.3
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.8160552978516E-5
- Output for 5.5.4, 5.6.21, 5.6.26, 5.6.28, 5.6.33, 5.6.36, 7.0.26, 7.1.1
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.6968460083008E-5
- Output for 7.0.2, 7.0.13, 7.0.18, 7.0.25
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.6954879760742E-5
- Output for 5.4.16, 5.4.21, 5.5.37, 7.0.22
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.6982040405273E-5
- Output for 5.6.2, 5.6.10, 5.6.20, 7.0.15
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.0095062255859E-5
- Output for 5.6.19, 7.0.10
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.2200088500977E-5
- Output for 7.0.4
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.2901763916016E-5
- Output for 5.6.0, 5.6.15, 7.0.3
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />3.9100646972656E-5
- Output for 5.4.40, 5.5.7, 5.5.21, 5.5.26, 5.6.39
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.4822692871094E-5
- Output for 5.6.38
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.8201293945312E-5
- Output for 5.4.29, 5.6.35
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />9.1075897216797E-5
- Output for 5.6.30
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.7206878662109E-5
- Output for 5.4.6, 5.6.29
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.082389831543E-5
- Output for 5.4.7, 5.5.2, 5.6.25
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.3882598876953E-5
- Output for 5.6.18
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.8902969360352E-5
- Output for 5.4.0, 5.6.17
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.1048736572266E-5
- Output for 5.6.7
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />9.7036361694336E-5
- Output for 5.6.5
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.413459777832E-5
- Output for 5.5.28, 5.5.36
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.2942504882812E-5
- Output for 5.5.27
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.4849853515625E-5
- Output for 5.5.24
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.4877014160156E-5
- Output for 5.4.42, 5.5.15
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.1062316894531E-5
- Output for 5.5.14
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.2015991210938E-5
- Output for 5.4.35, 5.5.9
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.9141387939453E-5
- Output for 5.4.1, 5.4.45
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.392333984375E-5
- Output for 5.4.20, 5.4.44
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.8930130004883E-5
- Output for 5.4.25, 5.4.43
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />9.2029571533203E-5
- Output for 5.4.38
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.7962875366211E-5
- Output for 5.4.36
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.793571472168E-5
- Output for 5.4.34
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />6.7234039306641E-5
- Output for 5.4.33
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.2956085205078E-5
- Output for 5.4.31
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />9.0122222900391E-5
- Output for 5.4.28
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.0108642578125E-5
- Output for 5.4.27
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />7.9154968261719E-5
- Output for 5.4.26
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />4.9114227294922E-5
- Output for 5.4.24
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.9883804321289E-5
- Output for 5.4.15
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.8174133300781E-5
- Output for 5.4.14
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />5.7220458984375E-5
- Output for 5.4.13
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.1777572631836E-5
- Output for 5.4.11
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />0.00012993812561035
- Output for 5.4.9
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.4161758422852E-5
- Output for 5.4.5
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />9.7990036010742E-5
- Output for 5.4.3
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.7976455688477E-5
- Output for 5.4.2
- J*vaSCRIPT and p*p are te*ting te*t-ground for TE*T !<br />8.8214874267578E-5
- Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
- Parse error: syntax error, unexpected '[' in /in/NVp6S on line 5
Process exited with code 255. - Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
- Parse error: parse error, unexpected '[' in /in/NVp6S on line 5
Process exited with code 255. - Output for 4.3.2 - 4.3.4
- Parse error: parse error in /in/NVp6S on line 5
Process exited with code 255.
preferences:
250.83 ms | 401 KiB | 322 Q