« first day (3945 days earlier)      last day (988 days later) » 

I suppose it's being derived from the x86_64 JIT, but I would have assumed that developing any part of a JIT for a language would require knowledge of that language.
 
 
1 hour later…
1:29 AM
echo misbehaves when there is a ternary operator ・ Strings related ・ #81329
 
 
3 hours later…
4:18 AM
@Trowski That is surprising...
 
 
2 hours later…
 
1 hour later…
8:04 AM
Hello All
need to ask one question
my project runs in linux server and it uses oracle as db
so my question is do i need to install oci8 dll to connect to remote oracle db from linux server?
 
8:22 AM
@Jeeves : The concatenation '.' operator has higher precedence than the ternary ? : operator.
this will be work fine
echo "THIS SHOULD SHOW ".((true)?'true':'false');
 
@muniya Have you tried docs?
 
8:42 AM
o/
 
 
1 hour later…
9:53 AM
@Derick I'm looking to shift starting xdebug step debugging from always on / ENV to something that can be set via a command line arg within the application itself (not php -d).
Morning Joe
 
@MarkR You should be able to use this with xdebug.start_with_request=no and then calling the function
 
@Derick Ah, ty. I'm only used to having it always on or starting using xdebug helper.
 
Yes, because... there are the only two ways now ;-)
(now =3.0)
 
 
2 hours later…
11:30 AM
Generator does not allow return null with implicit yield ・ *General Issues ・ #81330
 
cmb
12:12 PM
 
12:29 PM
mornin
 
Mogoring
 
1:17 PM
@StatikStasis stressed af
insane number of projects with unrealistic delivery schedules, someone left a few weeks ago and it turns out they had a whole bunch of half finished shit that no one else knew about
 
@DaveRandom big oof
 
yeh I could do without it
 
1:41 PM
@MarkR fyi, for local dev, I have one container without xdebug, and one with. For command line stuff, I can shell into the appropriate container, or for web, I have ports 80 => varnish => nginx => php without xdebug, 8000 => nginx => php without xdebug, 8001 => nginx => php with xdebug.
 
@Danack I've got one with and one without, but as changing it requires editing the docker-compose file I was hoping I might be able to build something where I could just toggle something to 'yes' and it pick it up. I might end up using an ENV file and adding -debug onto the end of the container name if it matches the service name
 
"as changing it requires editing the docker-compose file" - just always bring both up for local dev?
 
They're background CLI tasks that would conflict with one another unfortunately.
For web I use xdebug helper to toggle when I want debugging or not by setting the xdebug_enabled cookie
 
Strip searched for weed? wtf
 
1:57 PM
That's a helluva story
 
@PeeHaa I suspect being mouthy and getting in the way of the police trying to sort out the car accident might have been a factor...
 
Being mouthy is one thing. Doing an actual cavity search is too much :P
 
And isn't being farted on an expected hazard of the job when strip-searching somebody?
 
Free rectal exam, why not? Zoidberg noises
2
 
:D
 
2:03 PM
lol
 
"Cook passed wind intentionally multiple times."
"he deliberately passed gas and made a waving motion towards a police officer in an attempt to distribute the smell toward him."
can't stop laughing..
 
2:26 PM
I FART IN YOUR GENERAL DIRECTION!
YOUR MOTHER WAS A HAMSTER,
AND YOUR FATHER SMELT OF ELDERBERRIES!
NOW GO AWAY, OR I SHALL TAUNT YOU A SECOND TIME!
 
/me places fart deflector between himself and @Sara
 
🤣
 
 
1 hour later…
3:31 PM
morns
 
4:08 PM
compile errors ibm_db2.c v2.1.3 on Windows ・ ibm_db2 ・ #81331
 
 
1 hour later…
5:22 PM
Catching up on 8.1 changes and came across wiki.php.net/rfc/custom_object_serialization. I noticed the RFC's examples of __serialize() return associative arrays with named properties, but within php-src itself extensions' implementations of the same method return indexed arrays (e.g. ArrayObject::__serialize()). Was the use of indexed arrays in php-src just done for conciseness?
In the context of the MongoDB extension that I'm upgrading, we already have internal utility functions that return HashTables of our internal properties (shared by both get_debug_info and get_properties handlers) with associative keys, and I'd love to re-use that for __serialize as well if possible.
Looking at some userland code, I see Symfony also uses indexed arrays for its __serialize() output -- so I am curious if this is actually required or if implementations can freely decide to use either associative or indexed arrays. More directly: is the only requirement that the class' own __serialize() and __unserialize() methods are consistent with each other in the type of array they use?
 
@jmikola First step: try it out. If it works, then next step: ask Nikita directly because I doubt anyone else knows.
 
@LeviMorrison nod
 
5:56 PM
 
 
2 hours later…
7:27 PM
@jmikola Using associative array is fine
IIRC the SPL implementations are just close to the previous Serializable implementations
 
 
3 hours later…
11:14 PM
@jmikola I think the new serialisation features in PHP 8.1 are indeed exactly the same as we did in the Mongo extension for bsonSerialise interface.
so... we were like 6 years ahead there ;-)
 

« first day (3945 days earlier)      last day (988 days later) »