Okay, so to all those who wrote this lovely little library, thank you!
Refactoring old code to use this wound up saving me quite a few days of programming time and let me export Excel files instead of the usual cheat (although if it gives a more portable format, is it really a cheat?) of exporting CSV files.
PHP
17
Oct 07
PEAR::Structures_Datagrid
31
Aug 07
PEAR
Doing some work refactoring old hand-written code using PEAR libraries at the moment. Just have to say, structures_datagrid and HTML_Table_Matrix are very, very useful tools sometimes…
27
Jul 07
Unicode math symbols as operators in PHP6?
Noted over on Sara Golemon’s blog today. Can we expect this sort of thing to be in future PHP code?
var_dump(¼, ½ ¾); // float(0.25) // float(0.5) // float(0.75) var_dump(1 ≤ 2, 2 ≯ 3, 5 ≠ 6); // bool(true) // bool(true) // bool(true) var_dump(3 × 4, 15 ÷ 5); // int(12) // int(3) var_dump(1 « 3); // int(8) /* Your font may be too small, * but that's a skull and crossbones */ ☠('aka die/exit');
Well, no, not really – she implemented it just for fun, but it’s an interesting idea, and face it – who doesn’t want to be able to use all the keys on the Space Cadet Keyboard?