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
What new fresh hell is this?
"Please click here and tick the box if you DO NOT want to be opted in."
And when you click on the non-visible link:
"[ ] I DO NOT want to be opted in."
@jamesholden Have you ever seen the Expanse? One of the main characters shares your name!
I walked 4.4km in 51m58s
I walked 8.2km in 1h40m07s
I walked 2.4km in 38m25s
@Edent With your ActivityPub implementation, have you figured out how to allow quote posts for your bot posts yet?
📷 Brown Cap in the Grass
🚩 Herikhuizerweg, Rheden, Nederland
I walked 0.9km in 11m17s
I walked 2.8km in 25m32s
I walked 4.6km in 1h8m02s
📷 Stalkers Lane
🚩 Graywood Lane, Wealden, United Kingdom
I hiked 23.0km in 4h10m15s
I walked 3.9km in 39m07s
After my PHP 8.5 in Leeds last night, it's now time to head to Rotterdam to give the same talk there tonight!
It's cold out here, but atleast the snow is now gone.
I walked 1.7km in 13m18s
📷 Avenue Gardens
🚩 Princess Road, London Borough of Brent, United Kingdom
📷 Leafy Entrance
🚩 East Heath Road, London Borough of Camden, United Kingdom
📷 From Green to Yellow.
🚩 St John's Wood Road, City of Westminster, United Kingdom
I walked 9.1km in 1h56m24s







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