Joined October 2012
·

Piotr

Warsaw, Poland
·
·

Posted to Make string url ready over 1 year ago

What an author is trying to achieve is a slug-like url

this is great... but pretty useless :))

Posted to Handy CSS3 tools over 1 year ago

If your hosting doesn't support customized *.ini files, you can always set this in script:

<?php
settimelimit(0);
?>

this code will result that executing a php script will have no time limit (default is 30 seconds)

Posted to PHP for() VS foreach() benchmark over 1 year ago

Sorry, didn't spot the update at the bottom ;)

Posted to PHP for() VS foreach() benchmark over 1 year ago

Why are you counting elements in an array before every iteration?
Shouldn't it be a better solution?

$elementscount = count($elements);
for($i = 0; $i < $elements
count; $i++) { }

I can be almost sure that now the results will be slightly different!

Achievements
55 Karma
0 Total ProTip Views
Interests & Skills