- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
Well, there were other factors in play there. htmlspecialchars was a
very early function. Back when PHP had less than 100 functions and the
function hashing mechanism was strlen(). In order to get a nice hash
distribution of function names across the various function name lengths
names were picked specifically to make them fit into a specific length
bucket. This was circa late 1994 when PHP was a tool just for my own
personal use and I wasn't too worried about not being able to remember
the few function names.
-Rasmus
bormand 17.12.2013 22:11 # +13
Вот до чего доводит преждевременная оптимизация ;)
Stertor 17.12.2013 22:12 # −20
Stertor 17.12.2013 22:18 # −16
bormand 17.12.2013 22:19 # +14
Слова не мальчика, но мужа.
Stertor 17.12.2013 22:20 # −14
bormand 17.12.2013 22:35 # +3
LispGovno 17.12.2013 23:27 # +4
kegdan 18.12.2013 11:03 # +7
Stertor 18.12.2013 11:14 # 0
:O
kegdan 18.12.2013 12:11 # +5
bormand 17.12.2013 22:21 # +12
kegdan 18.12.2013 11:04 # +5