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
Hiding Away
This lovely creature was scurrying along the paths near the seawall at Purfleet, near RSPB Rainham Marshes.
I think it's a field mouse, but suggestions welcome.
#photography #wildlife #NaturePhotography #mouse #Mousetodon #london
Specify whether public transport stops have tactile paving
Specify whether traffic signals have sound signals
Specify whether traffic signals have a button for pedestrians
Specify whether traffic signals have tactile indications that it's safe to cross
Determine roads lane count
Specify what can be recycled in recycling containers
Survey opening hours
Survey if places still exist
Specify whether pedestrian crossings have islands
Specify road surfaces
Specify whether pedestrian crossings have markings
Specify parking types
Specify motorcycle parking fees
Determine the heights of kerbs at crossings
Specify whether crosswalks have tactile paving
Specify whether roads have lane markings
Specify whether there are cycleways
Specify whether roads have sidewalks
Specify path surfaces
Specify whether kerbs have tactile paving
I walked 6.9km in 1h19m34s
At The Top
This female Stonechat was precariously perched right at the top of this branch. The light was just right on it, and the slightly pastel coloured background frames it nicely.
#photography #Birds #BirdPhotography #BirdsOfFediverse #NaturePhotography #wildlife #RSPB #RainhamMarshes
Merge branch 'v2022'
Address new warning (-Werror=shadow) from newer GCC versions



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