Long Time No Blog
It has been a while since I blogged. I've been busy with several things such as ApacheCon Europe and a week holiday at the Lofoten . But new exiting things are on the program. First of all PHP is finally getting ready for Unicode support--with brand new major version number "6". It is going to take quite some time to convert all the extensions to make use of this in a proper way. For me that means that I've to check the mcrypt extension (as that uses binary data and not strings), add locale support with ICU's new locale functions to the date extension. I will also be working on porting the other PHP functions that make use of the system locale to make use of the ICU locale system instead. Besides that I drafted a proposal for a new filter extension to safely deal with input variables. Stay tuned!
Comments
Hey Derick, thanx for the update! I have read about the unicode support in the post above.
What is it about? What is the great difference and all the such? Can you please explain? I'm Greek and a write all my applications in Greek, so i'd like to know..
Thanx, Gonik
I hope it's ok to comment on your input filter stuff here.
First I find it a bit strange to have the filter return false, especially with a boolean filter. Wouldn't it be better to return null, which means something like no value or not of a given type.
Second both number_int and number_float should support negative numbers, which means not stripping a minus sign.
And how is $source interpreted? If I set $source to 3, which means GET and POST, and both have a variable named 'foo' - which one is returned?
b4n, nico
@Nico: I changed the false to null and removed the NOTICE, was already planning on that. As for the negative numbers, that's already in (with flags). $source was not supposed to be a bitmask so I changed that too.
Apparently you can now use unicode characters in naming classes, functions and variables names. I have not tested this yet, but it would be useful for numerous coders.
它?得更加??的与汉语语言
Life Line
I know my French is pretty terrible, but I'm sure I'm closer to the correct answer than what's shown here...
Merge branch 'v2022'
Merge pull request #169 from psumbera/solaris-2
I walked 7.0km in 1h6m48s
Fixed some ffing sidewalks again.
I walked 10.5km in 1h40m26s
Updated a pet_grooming shop
I walked 8.6km in 2h12m58s
I walked 8.7km in 1h24m16s
Updated a restaurant
I walked 2.4km in 24m20s
I walked 6.6km in 1h4m32s
I walked 0.6km in 4m38s
I walked 8.5km in 1h22m35s
Merged pull request #1029
Reflow some comments
Add comments, add end of file newlines, fix php 8.5 compilation
Benchmark Xdebug performance
Merged pull request #1051
PHP 8.6: printf() is now optimised out if it only uses %s and %d (and…
PHP 8.6: The object IDs of objects changed in tests
PHP 8.6: ZSTR_INIT_LITERAL() no longer takes non-literals, so use zen…
PHP 8.6: WRONG_PARAM_COUNT has been removed in favour of zend_wrong_p…
PHP 8.6: zval_dtor() has been deprecated in favour of zval_ptr_dtor_n…
Update test for version constraints, as well as the error messages


Shortlink
This article has a short URL available: https://drck.me/lt-no-b-443