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
Specify whether public transport stops have tactile paving
Determine the heights of kerbs at crossings
Specify whether crosswalks have tactile paving
Survey if places still exist
Survey hairdresser's customers
Specify whether kerbs have tactile paving
Determine the heights of kerbs
Specify what can be recycled in recycling containers
Specify type of recycling amenities
Specify path surfaces
Survey if places still exist
Specify whether there are cycleways
Specify whether roads have lane markings
Specify whether roads have sidewalks
Specify whether pedestrian crossings have islands
Specify whether pedestrian crossings have traffic signals
Specify road surfaces
Specify access to playgrounds
Specify whether places take fees to visit
Survey whether opening hours are signed
Specify whether pedestrian crossings have islands
Specify whether pedestrian crossings have traffic signals
Determine whether any glass or just glass bottles can be recycled here
Specify type of recycling amenities
Determine place names

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