« first day (2012 days earlier)      last day (2952 days later) » 

11:00 AM
can you review that patch for me bob, I'm not sure about the bit where I changed the fcall stuff
while (lots of opcode) {
 opnum--;
}
 
lexical-anon branch … found it :-)
 
yeah
 
@JoeWatkins rofl. I read
while (lots of opcode) {
 opium--;
}
 
@JoeWatkins can you please explain me this branch github.com/php/php-src/compare/… ?
oh, I guess that's what you mean with that while ^^
 
11:06 AM
what's up with IntlTimeZone tests failing on master?
 
Can we pass multiple values from an id to a php page?
 
@bwoebi yeah, I know it's not nice, first way that worked ... 4 or 5 am or some stupid time ...
I can't even find the bit that shows why you need it now ...
it may be better to opnum-- while the opcode is not an init fcall opcode, but didn't know if that will always work
 
@JoeWatkins yeah, these FETCH_OBJ_* opcodes may interact with other legit cases
 
-4
Q: how do i add two sessions in codeigniter which can be used simultaniously without logging out one for another?

HishamThe employee login function checks whether session variable admin is true. If it is, it'll not let employee login. I want this one to be rewritten as both admin & employee can be logged in at the same time without session collission. Setting sessionkeys does not help. Admin controller > this is ...

 
really ?
 
11:10 AM
not sure, I'm just guessing
I mean, when you put the start opnum somewhere else
 
there's no other code in there I don't think ... between ZEND_NEW and the ctor
 
but call_common is used for any fcall
nor just for ctor calls
 
http://drugvilla.com/cartjsonencode.php?uid=5710

as this but i need to pass multiple did values can we do that?
 
$foo->bar; fcall(); @JoeWatkins isn't that going to put the start opnum one op too early?
 
@bwo
was that to me
 
11:12 AM
no
 
"http://drugvilla.com/cartjsonencode.php?uid=5710"
as this but i need to pass multiple did values can we do that?
 
@DeepakSingh Is that your site?
 
@JoeWatkins I believe the straight ahead way is having compile_call_common_ex() and pass an explicit op_num in there
 
You may want to lookup sql injection and how to prevent it
 
11:13 AM
hmm
 
okay
 
@JoeWatkins at least that should be a thousand times better than that blind stabbing in the dark
extensive looping based upon opcodes is something I like to reserve for opcache ;-D
 
@PeeHaa
can you help me with code strings?
 
no
 
yeah it's nasty ...
 
11:14 AM
@JoeWatkins you'd just backup start opcode before the anon_use() call and then pass it explicitly to call_common_ex()
that's the simplest and least nasty way I can imagine
 
	opnum = get_next_op_number(CG(active_op_array));
	opline = zend_emit_op(result, ZEND_NEW, NULL, NULL);

	if (class_node.op_type == IS_CONST) {
		opline->op1_type = IS_CONST;
		opline->op1.constant = zend_add_class_name_literal(
			CG(active_op_array), Z_STR(class_node.u.constant));
	} else {
		SET_NODE(opline->op1, &class_node);
	}

	if (use_ast) {
		zend_compile_anon_use(result, use_ast);
	}

	zend_compile_call_common_ex(&ctor_result, args_ast, NULL, opnum);
does that look right ?
 
@JoeWatkins yep, pretty much that
 
I think that's correct opline ...
 
11:19 AM
yes.
 
yeah, passing
much nicer, thnx
 
@JoeWatkins the use() of a property is interesting … possibly we want to introduce that too for normal use() on a Closure?
 
I dunno, but if you say that, it might scare people ...
 
Hi,
 
@Duikboot o/ How are the SSH keys, generated 5 new ones in the meantime? ;-)
 
11:21 AM
pushed
 
No everything is up and running perfectly :D
 
@JoeWatkins I mean, it's not too rare that I need to do $foo = $this->foo; function () use ($foo) { ... }, especially in contexts where I need to rebind a closure context (when foo is private)
 
I think it's not terrible, I'm not exactly sure why closures can't have properties
 
it's not too often the case, but for the few times it's needed
 
just to maintain the facade that it is a function ?
 
11:22 AM
Why do Closures need properties?
 
oh I see what you mean actualy
yeah, I'm not sure why that's not allowed
seems ordinary
 
Probably because you typically just can reuse $this (as context is inherited)
and thus nobody thought of that
 
yeah
 
@Jay i used to google before i ask something if i asked something here for enlightments and is a part of manners...so that i can come to the actual problem....
 
lol
 
11:24 AM
but when we have it for classes, why not for Closures ^^
 
yeah, just instance properties is strange forward change I think
 
yip
We shall introduce that when this thing makes it in^^
secretly add it^^^^^
 
@jay and to my recent question 'anyone heard of fpdf?'... asked because some who will interested in will respond and may give some enlighten me to solve my actual problem...
 
@bwoebi accidental feature, we shall call it ...
I tripped and fell, and as I did so, my face hit the keyboard, and just happened to press the right keys to make it happen ... I couldn't do it again if I tried ...
 
@jay You guys are always chatting something else which is of no use ... just wasting time...better than that i would say asking something... there may be people who are intrested... please excuse me if am rude...
 
11:28 AM
@JoeWatkins lol
 
@astrosixer This is a chat
 
Ekn
morning 11
 
In a chat, people will... chat
 
@MadaraUchiha what? you must be kidding
 
No one here has any obligation to answer your question, and expecting people to stop their discussion (however "waste of time" it might be), and drop everything to help you, is very rude.
 
11:29 AM
@MadaraUchiha the only reason we are here is because of rebecca
7
 
If you want your question answered, ask it on main, and ask it well
 
@JoeWatkins There's anyway nothing like intentional features … all the features are product of accidental neuronal reconnections … :-D
 
@Gordon In that case, I might just close this room down.
 
@shog ^ mod abuse!
Get him!
 
11:32 AM
@MadaraUchiha that's the trick, you cannot do that because we are pretending to be on-topic while waiting for rebecca
!!rebecca
@Jeeves WAKE UP!!!!eleven
 
Obligatory
 
@Gordon He died:(
 
RIP
 
is there more than a month until we can't get stuff into 7.1 @bwoebi ?
 
zed's jeeves' dead, baby. zed's jeeves' dead.
3
 
11:33 AM
@MadaraUchiha if did anything wrong am sorry.. and am not blaming all of the guys ..here in the room but some people ...
 
@JoeWatkins Anatol was talking about starting release cycle in June/July … and that's only alpha then … thus we should still have about 4 months
 
The Walking Jeeves
 
@astrosixer Again, no one here owes you anything
 
cool
 
And no one here is getting paid.
 
11:34 AM
wait, we don't get paid? fuck.
 
That should be the baseline for everything you say. No one here is obligated to be helpful.
 
@MadaraUchiha Wait, you're not getting paid?
 
@JoeWatkins At least I guess release cycle is a bit shorter than with 7.0 … thus we'll probably get a release around January I guess.
 
@Oldskool Nope.
 
all of us are cheap unemployed bums. aint go no money. aint go no life. thats why we here. all we got is rebecca and a dead robotl
 
11:35 AM
Not from SO, anyway
 
@MadaraUchiha I was j/k of course ;-)
I know pretty much 90% of SE staff are unpaid volunteers.
 
hold on a minute everyone ... if internet points don't count for anything, then what are we all doing ?
we get paid in delicious internet points ...
 
Wes
mmmh internet points
 
internet points is the new braaaaaaains
 
exactly ...
 
Ekn
 
@Ekn exactly :)
 
Classic :)
 
@JoeWatkins do the stars over there count as points? --->
 
@PaulCrovella They are bonus points!
Even better.
 
dope.
 
11:37 AM
@PaulCrovella Didn't Super Mario teach you anything about stars at all? :)
 
@Oldskool are you refering to @Ocramius?
 
Stars and money ... and mushrooms. That's all that counts ;-)
 
@Oldskool they make you invincible?
 
@madara some people irritating me.. thats all
 
Anonymous
meh..
 
11:38 AM
@PaulCrovella That's right ... the more stars, the more invincible you become ;-)
 
@Oldskool but we aint got no money. didnt you hear what @MadaraUchiha said
 
I am three invincible. Neat.
 
@Gordon Better get a good supply of stars and mushrooms then ;-)
 
@samayo "You have come to this page in error."... that sounds good
 
Wes
11:40 AM
what if i inject coffee straight into my veins? will it work or will i die?
 
define "work"
 
this is not the internet page you are looking for jedi gesture
 
die
 
Wes
@JoeWatkins have you tried? :B
 
fuck off wes
 
Anonymous
11:41 AM
@Oldskool Yeah, weird message.
 
Wes
lol
 
@Oldskool that makes a 404 sound like you've made a mistake in life
 
SE staff are unpaid volunteers really?
 
ok, can we please get back to pretended on topic. That useless mod @MadaraUchiha totally derailed the conversation
 
Anonymous
11:42 AM
@PaulCrovella Yeah, trusting a link. That's a failure :)
 
@MadaraUchiha i only blamed @jay for why did you get irritated so much...?
 
@SagarNaliyapara Apart from a few people at SE HQ, yeah.
 
what about Moderators like @MadaraUchiha? @Oldskool
 
@SagarNaliyapara the community elected mods are unpaid pro-tempore volunteers. But there is regular employees, too obviously
 
@SagarNaliyapara stackoverflow.com/company/team I think most of these guys and gals are actually paid. But other than that, nope.
 
11:44 AM
@Oldskool exactly
 
agree @Gordon
 
No one here has any obligation to answer your question, and expecting people to stop their discussion (however "waste of time" it might be), and drop everything to help you, is very rude. this is totally true. @MadaraUchiha
 
speaking of "voluntary"… @MadaraUchiha did SE scrap the swag at 200k?
 
@Gordon I reckon it's still in the 6-8 weeks phase
 
11:48 AM
@MadaraUchiha yeah, I only crossed 200k last week or something
 
@Gordon Grats
 
@all no problems with you guys... sorry for what i did say if that hurt you guys...
 
@MadaraUchiha thanks. didnt hear from anyone at SE though, so wasn't sure there would be anything for reaching that mark.
 
Ekn
201,102 ... such a mighty number :)
 
@MadaraUchiha even though i owe you a sorrry...
 
11:50 AM
it's not the biggest number I've seen
 
@JoeWatkins that would be PHP_INT_MAX?
 
Ekn
heh
 
@JoeWatkins Nope, @Gordon is not even on "page 1" yet ;-) stackoverflow.com/users?tab=Reputation&filter=all
So still a long way to go.
 
oh I didn't know that was what we were talking about ...
 
11:52 AM
@Ekn if it was a word, it was a palindrome
 
Ekn
indeed :)
 
still a very big achievement @Gordon congrates..!!
 
I thought @Ekin had just picked a number she thought was pretty big, and then I was just pointing out I could think of bigger numbers ...
 
@Gordon if it were* it would be*
 
I may need to sleep a while ...
 
11:53 AM
@Oldskool i'm not even in the top 100 anymore. at 104 currently.
@MadaraUchiha what? you're a mod on grammar now, too?
 
@Gordon You're*
 
lol
 
Ekn
ha, I just found a special phproundtable
 
I have a engrish brainfart. I want to say only add a new answer when it is actually worth it.
> This is a canonical q&a Please review the current answer and fix it where needed. Only create a new answer when you can contribute something ?
I know there is a proper word for it...
 
11:57 AM
"Shoo."
 
Wes
@Ekn with @PeeHaa ?
 
I dunno if there's a word for it @PeeHaa
new answer for new solution.
 
I'm sure of it. It's so close I can almost taste it
 
That's last nights beer
 
That too
 
Ekn
12:00 PM
there's a room 11 special @Wes, not seen one with sir PeeHaa
 
I think it has to do with size in some way
 
alternative?
 
Arrrrgh I hate this
brb going for a smoke and not think about it
 
There's a word for when someone is on the tip of your tongue too. But I can't remember it :(
5
 
Wes
@Ekn and it's even tagged as "Explicit"
 
12:02 PM
Is Jeeves on github and open?
 
@PeeHaa worthwhile
 
Danke
 
Ekn
@PeeHaa You could just change the last to something like "Only post a new answer when your answer can contribute something that is not yet mentioned but worth mentioning." ...maybe
 
Ekn
12:04 PM
lol
blah I need more coffee
 
@Gordon Relevant
 
substantial \o/
Damn that took some effort
 
@Fabor how can I not know about ralph the rex all these years
 
Your brain is done for the day then @PeeHaa
 
yep
 
12:07 PM
@Gordon I feel like you have a potential candidate for your next Halloween or conference outfit.
 
bounty p to the osted
 
@PeeHaa where?
 
6
Q: Failed to open stream : No such file or directory

Vic SeedoubleyewIn PHP scripts, whether calling include(), require(), fopen(), or their derivatives such as include_once, require_once, or even, move_uploaded_file(), one often runs into an error or warning : Failed to open stream : No such file or directory. What is a good process to quickly find the roo...

 
Hi ppl
Im struggeling a bit
How can I rearange this array to have a simple "public=>" ?
   object(ArrayObject)[643]
     public 0 =>
       object(stdClass)[635]
         public 'account' => string 'leadfactory_test' (length=16)
         public 'nb_mail' => int 54632
     public 1 =>
       object(stdClass)[496]
         public 'id' => string 'AVQaoKC8Q3nQ0T4bG9Oq' (length=20)
         public 'nom' => string 'TOR-117-2016-04-15 17:53:34' (length=27)
         public 'date_de_creation' => string '2016-04-15 17:53:35' (length=19)
         public 'date_de_modification' => string '2016-04-15 17:53:35' (length=19)
Array merge is not working :/
 
12:14 PM
@Baldráni Should work, but you probably need to cast the object to array.
 
@Baldráni because you have objects?
 
@Baldráni array_merge( (array) $object->0, (array) $object->1);
Should work just fine.
 
I'll give it a go
 
Is there any particular reason why you're using ArrayObject?
 
12:17 PM
@salathe This is the output of an API
And I want to add my own data before using it
 
Wes
arrayobject is terribad
 
syntax error, unexpected '0' (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'
what the heck
 
you cannot ->0 or ->1
 
@Gordon Oh, my bad then. I thought ArrayObject just works like a regular object.
 
@Oldskool you cannot use number for props on regular objects either
 
12:21 PM
@Gordon Oh, yeah. Good point. :)
It should be {0} and {1} then probably?
 
php > $obj = new StdClass;
php > $obj->0 = 42;
PHP Parse error:  syntax error, unexpected '0' (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in php shell code on line 1
php > $obj = (object) ['foo', 'bar'];
php > echo $obj->{0};
PHP Notice:  Undefined property: stdClass::$0 in php shell code on line 1
php > print_R($obj);
stdClass Object
(
    [0] => foo
    [1] => bar
)
@Oldskool nope
 
@Baldráni are you using json_decode()? Then set the second parameter to true to get just arrays
 
Nup no json
 
interestingly enough, when I do $obj->0 on the existing object it doesnt error, but also doesnt give any output
 
ArrayObject
 
12:25 PM
I got it
!
 
@Baldráni arrayObject implement ArrayAccess,doesnt it? So try $arrayObject[0]?
 
$testfinal[] = array_merge( (array) $arrayobj[0], (array) $arrayobj[1]);
It worked
Thanks you guys !
 
@Baldráni Ah, like that. Good to hear it worked out :)
 
that took you a disappointingly long time ...
 
indeed :D
 
12:27 PM
@JoeWatkins Well, that's a matter of interpretation I guess, The way I see it is ArrayObject. So I'd expect -> rather than []
 
Anonymous
@astrosixer Blamed me for what? Asking you to Google more? Look at your chat history dude, it's full of some of the most basic questions. I was just giving you some friendly advice :)
 
Object is the subject, Array the context.
 
what ?
 
array_merge(...$arrayobj) :P
 
(or at least, that's how I interpret it)
 
12:27 PM
Interesting anyway
 
@Oldskool but then you need to set array as props or something iirc
 
Thanks guys :)
 
@Gordon Hmm, maybe. Well sounds like a good thing I never had to work with ArrayObjects either way.
They seem weird :)
Or confusing at least.
 
they are mostly pointless
and have bad performance
 
@Gordon You're mostly pointless!
 
12:29 PM
lol
 
But yeah, ArrayObject (like much of the SPL, to be honest) is a bit of a freak show.
2
 
@salathe This is the END for you, you gutter crawling cur!
 
@jay actually i asked questions that was asked in the main did you answered .. not yet then how it become basic...?
 
@Gordon Uh oh, now I'm in trouble.
 
Anonymous
@astrosixer 'What is Active Directory' - I didn't say it was basic, but a very broad common question. google.co.uk/…
 
12:33 PM
@salathe i dont think that is a valid swordfighting insult
Did you mean "I am rubber, you are glue"?
 
Wes
launched make test like 2 hours ago, it's still running
 
@Wes did you run it on a raspberry pi or what?
 
-1
Q: retrieving data from database sql query

Waqas_aamerI have configuaration table in database. I want to get data from it. vName=ADMIN_EMAIL row has a column whose name is vValue. there is an email address stored in it. i want to get that value and store it in $toEmail. Kindly Someone guide me here. $sqldata=mysqli_query($obj,"SELECT * FROM co...

 
Should rather take a 20 min max
 
Wes
@bwoebi windows. i don't know :\
 
12:38 PM
@jay some other questions.. which are asked in the stackoverflow not yet answered ones.. i asked no one answered... so i thought will ask simple questions...so that anyone can answer and will be intresting ...
 
@Waqas_aamer You'll have to be more specific. What have you tried? What outcome did that give? What outcome did you expect?
 
@Oldskool it was just some seesion variable collission..fixed it by myself.. it was not worh 4 downnvotes after all..
 
Anonymous
@astrosixer ok.... I think there's a language barrier here which is causing confusion.. So let's agree to disagree.
 
@Wes lol, on windows it might take 2 hours just to open the files :P
 
Wes
it takes ages even for skipped tests lol
 
12:42 PM
@jay ok i agree..
sorry anyway for the rudeness...@jay
 
12:52 PM
@jay hello there... ?
 
@NikiC can you review a patch for me please ?
 
Anonymous
@astrosixer Yeah sure, no problem. Like I say, just a language barrier.
 
me and bob already done it, but more eyes are good ...
 
@JoeWatkins which one?
 
the lexical anon one
 
12:54 PM
@JoeWatkins note that get_property_ptr_ptr may be null
 
@JoeWatkins not sure I like that approach
i.e. that a use($var) is accessed via a property
 
@jay thank you... so can i ask you my doubts and views...?
Hope so bye
 
@NikiC I can't imagine anything else what would make sense here?
 
YE GODS! .. bank confirms that the error message that I am receiving does not match the actual error. But instead of telling me what the real error is, they point me to the documentation so I can compare XML examples ....
 
@bwoebi scope it method-wide new class() { public function foo() use ($bar) { var_dump($bar); } }
 
12:57 PM
@bwoebi I would've expected it to be on an individual methods and work the same as closures
 
Anonymous
@astrosixer If you've tried to research the question already, and still cannot find an answer - then sure, ask away. Though ask the room, not me. Better chance of someone helping you then.
 
I can see this for the property case, but for variables its super odd
 
@DamienOvereem Which translates to "We don't have a f'ing clue either.". :)
 
ugh, really?
 
@Oldskool Pretty much, yes.
 
12:58 PM
we don't really need two ways do we ?
 
@nikita2206 this looks super odd to me, TBH
 
it doesn't look so bad when it's just one method, but when its a whole class, with props in one place and vars in another, repetition everywhere ... that's messy
 
Anonymous
Every little post-php7 patch I have seen is super odd.
 
try to write some code like that ... it's really horrid ...
 
Wes
tests are dead. got stuck at bugs.php.net/61977 :B
 
1:05 PM
@Oldskool I went to University, I went to the best Universities. I got mushrooms, I got the best mushrooms. Everyone loves my mushrooms.
 
@Ocramius I'm sure they do ;-)
 
Wes
NMANKMEA K:E f:a tfaalt aelr reorrr oUr1 0U518:0 7t7e:r m'iEn:a\tpehdp -bsyd ku\spehrp
dSetvo\pv.c 14\x
go home nmake, you are drunk
 
hehehe
 
@Wes Hahaha, WTF
 
I think it had a stroke
 
Wes
1:08 PM
lol
 
Ekn
lol
 
So did Jeeves die on his own or did SO banhammer him?
 
@Machavity missing tests
 
@jay pdf generated using fpdf has line width issues... cannot able to set the width uniquely throughout the document... some horizontal lines are drawn nicer but some blurred..
 
1:35 PM
@JoeWatkins @Gordon Picking her up tomorrow :-D
 
yay yay yay
 
@JoeWatkins oh?
 
I was yay'ing at @Jimbo
 
hehe
 
Wes
@Jimbo is it red
her, sorry :P
 
1:38 PM
@Wes 'Arctic White'
Red wheels
And the license plate: J777 PHP
8
 
Wes
ahahaha
 
@Jimbo yay!
 
@Jimbo LOL, that is epic.
 
If I see that guy with J4V4 on his plate, he's going to get a boot to the mirror
 
Ekn
lol
 
1:43 PM
beware the guy with NGNX 502
 
@Jimbo get one of these, too: youtube.com/watch?v=a9ThdUSmsZk
and a skully ar-1 helmet
though it has been postponed again
alternatives to the duc jacket: dainese.com/de_en/d-air/street
 
was there a way to make a fresh new object (not using the saved one from ->share()) in Auryn? /cc @Jimbo
 
Anonymous
@Jimbo J777?
 
@samayo They didn't have J7
 
Anonymous
Ah..
 
Wes
1:49 PM
user image
2
 
@Joe use($foo->bar->baz) will bind to $this->baz?
 
@Wes Wait, Jeeves has a bike?
 
@Gordon Yeah I was waiting for a HUD helmet, nothing decent out there yet. I got some full leathers though, and proper boots, so I'm well kitted for the beast :-)
 
posted on April 19, 2016 by nikic

### Fixed * Properly support `B""` strings (with uppercase `B`) in a number of places. * Fixed reformatting of indented parts in a certain non-standard comment style. ### Added * Added `dumpComments` option to node dumper, to enable dumping...

 
1:51 PM
@Jimbo Don't be too hard on them. They'll be jealous
 
@Jimbo BMW is also working on a HUD helmet, though the skully looks much nicer
 
You can see all the exceptions they have to carry around
 
@SergeyTelshevsky Not sure, you could alias the new one before sharing it?
 
@Jimbo nice outfit. the boots are superrad
 
@Gordon It's the first good quality stuff I've gotten, best to be safe :)
 
Ekn
1:53 PM
all looking nicey indeed
 
@Jimbo a hassle..
@Jimbo I need about 60 PDO objects
:D
 
@SergeyTelshevsky Factory? :D
 
fucktory, hardcoding now! :D
such a nice day
 
moin
(again)
@SergeyTelshevsky lolwut
 
@Jimbo but anyway, factory is ok
@DaveRandom no time to explain :(
 
1:59 PM
Too busy breaking shit?
srsly, who talks to 60 databases concurrently?
 

« first day (2012 days earlier)      last day (2952 days later) »