PHP lags 23 seconds
Bug report # 35958 must have the most obscure one ever:
"strftime usually returns a string from the number of seconds since 1 jan 1970. Now, it lags and returns a string representing 23 seconds too late."
If you know what's going on though, it isn't really that weird. Every once in a while the IERS announces a new leap second to "keep the broadcast standards for time of day close to mean solar time ". At the moment the difference is 23 seconds which is reflected in comparing the leap second adjusted time zone information file with the non-adjusted one. You can see the leap second with this little shell script:
#!/bin/bash export TZ=Europe/Amsterdam date --date "@1136073621" date --date "@1136073622" date --date "@1136073623" export TZ=right/Europe/Amsterdam date --date "@1136073621" date --date "@1136073622" date --date "@1136073623"
The output is:
Sun Jan 1 01:00:21 CET 2006 Sun Jan 1 01:00:22 CET 2006 Sun Jan 1 01:00:23 CET 2006 Sun Jan 1 00:59:59 CET 2006 Sun Jan 1 00:59:60 CET 2006 Sun Jan 1 01:00:00 CET 2006
The output with the "right/Europe/Amsterdam" timezone is actually the correct time, but this will obviously confused too many computer programs. Most often you will not see this one in use.
The new date/time code in PHP 5.1 does not support the leap second either. I was playing with it while developing, but thought it to be to confusing. Seems I was right there :)
Life Line
I just watched an interesting and lovely documentary on BBC Four: The Magical World of Moss.
It's on the iPlayer for another month:
https://www.bbc.co.uk/programmes/m001hqthMerge branch 'xdebug_3_5'
Document to use PIE instead of PECL in the README
If we must show off a little…
In more info innocent times, the hat riots caused some spankings...
100 Years Ago Men and Boys Fought on the Streets of New York Over Wearing Straw Hats Past Summer | The New York Public Library
https://www.nypl.org/blog/2022/09/23/straw-hat-riots-nycI hiked 15.5km in 3h12m14s
📷 Mushroom Village
🚩 Weg van den Prins Willemsberg, Ellecom, Nederland
I walked 2.4km in 59m34s
📷 National Cycle Network 6
🚩 Watford, United Kingdom
I walked 7.6km in 1h54m50s
📷 Tufted Duck Pair
🚩 Outer Circle, City of Westminster, United Kingdom
RE: https://phpc.social/@Xdebug/115662135830755552
I have just released Xdebug 3.5.0!
In the next few weeks I will create some content (text, and perhaps video) highlighting some new features in more detail.
Please share it with the world!
The master branch is now for Xdebug 3.6, targetting PHP 8.6
Back to -dev
Tweak release instructions a little
Go with 3.5.0
Tweak message IDs and severities for control socket log entries
I walked 8.1km in 1h26m40s
I walked 1.1km in 9m28s
I walked 8.5km in 1h30m56s





Shortlink
This article has a short URL available: https://drck.me/php-l-23-s-4na