PHP Sadness

Function naming (to/2)

PHP needs to lrn2b_consistent:

to: php stream_copy_to_stream php strtolower php strtotime php strtoupper php unixtojd

2: php bin2hex php deg2rad php hex2bin php ip2long php long2ip php nl2br php rad2deg

Significance: Consistency

Language consistency is very important for developer efficiency. Every inconsistent language feature means that developers have one more thing to remember, one more reason to rely on the documentation, or one more situation that breaks their focus. A consistent language lets developers create habits and expectations that work throughout the language, learn the language much more quickly, more easily locate errors, and have fewer things to keep track of at once.