« first day (3600 days earlier)      last day (1573 days later) » 

00:24
Does anyone know both Laravel and Symfony? I'm wondering how hard it will be to learn Symfony if I know Laravel pretty well. It looks a bit more complex just looking at this application.
01:06
@cmb (or @salathe), can I get your opinion? I'm building the table for assignment operators, but I'm looking at php.net/manual/en/language.operators.logical.php ... should there be some informational text above the table on this page? also the table is a formal table, so it has a centered title, rather than what I had done on like the properties page (cont.)
should I change the table to an informal table while I'm in this file, or just leave it? I just find the centered title for tables really ugly...
well, these kinds of tables that list out information... there's probably a place where a centered title would look nice, but I don't think these are it
can someone suggest another word for "Same As"? :S
e.g. $a += $b is the same as $a = $a + b
I don't like "Same As" for a table header
Equivalent?
01:40
@Alesana not that hard a lot of Laravel is based on Symphony components.
it's like 1/3 to 1/2 symfony
Check out Symphonycast. Their quick start video tutorial is free.
It's like an overview of Symphony features.
I'll have to take a look
 
4 hours later…
user12640521
05:41
Why are str_replace and str_ireplace parameters $search and $replace not typed? github.com/php/php-src/blob/…
06:43
Good morning.
@Tiffany I'll look into that, thanks for the reminder
cmb
cmb
@Tiffany Not sure. I'd probably leave it as it is. Styling is somewhat unrelated anyway.
07:09
@JellyLegend It's a technical reason: argument validation in its current form doesn't allow us to add proper array|string types. I have a few open PRs for refactoring similar code to allow adding types, and I'll do it for str_replace() in a next round. :)
user12640521
07:56
@MateKocsis Thank you, just seem odd so I wanted to point that out
08:17
morns
08:47
@Tiffany regarding text above the table, maybe a brief introduction perhaps; but don't just put something there because you feel something needs to be there. For the table, I'd just leave it unless there's a good reason; the centred heading isn't a good reason (and anyway is a styling issue not a markup issue).
09:08
Happy Birthday @Ocramius!
Thanks @mega6382
php 7.4.9 ・ *General Issues ・ #80011
09:26
@cmb I'll take care of github.com/php/php-src/pull/6000
cmb
cmb
@NikiC I have something just ready for that. :)
09:37
hello there, i need help in cURL
anyone here to help me?
1
Q: PHP shell_exec returning an empty string, while executing the same command manually does not

Jacob PetersenI am currently having some weird behavior from shell_exec that I cant quite figure out. This is my code: $cmd = ('sshpass -p PASSWORD scp -o StrictHostKeyChecking=no ../../UpdateFiles/' . $FILENAME . ' root@' . $IP . '://media/sdcard'); $output = shell_exec($cmd); if (empt...

@JacobPetersen 2>&1
i'm facing problems with this code. the wp:attachment storing another json link. but i need it with jpg and png image link. how can i do that? here is my code..


<!DOCTYPE html>
<html>
<body>

<?php

// db connection
$options = array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
);

$db = new PDO('mysql:host=localhost;dbname=databasename;', 'somename', 'password', $options);

// download json from url
$json = file_get_contents('https://jamuna.tv/wp-json/wp/v2/posts');
cmb
cmb
10:16
Any thoughts on github.com/php/php-src/pull/5877#issuecomment-679030642? Should we really drop support for MariaDB from mysqlnd?
@cmb no
cmb
cmb
But how to proceed? There are several places checking the version number, but even with the hack (which removes the MariaDB fake version prefix), that may not really work.
10:43
FWIW, I think this PR is a reasonable approach.
PHP_ADMIN_VALUE ・ FPM related ・ #80012
11:02
Yeah, the PR looks fine to me as well
11:53
morning
morning
MariaDB became the default 'mysql' on Ubuntu years ago didn't it?
12:17
posted on August 15, 2020

I'm writing this on the internet. That means I'm required by law to mention Star Wars on a regular basis. There's a minor spoiler for Return of the Jedi coming up. If you haven't seen it, watch the movie and then come back so you know what I'm talking about. Near the end of the film Vader has a chat with Luke Skyhopper or whatever. He asks Luke to help take his hat off. He says somethi

posted on August 22, 2020

When I was 13, I tried to submit artwork to MAD magazine. Here’s what their rejection letter looked like. (I wrote this news before I had an idea for a comic)

12:45
o/
\o
session handler memcached is unstable ・ memcached ・ #80013
Wes
Wes
13:13
@Crell that's great \o/
The only serious blocker is partials, and then probably I messed something up in my implementation. :-) Help welcome on both. (Presumably; I don't know where @IluTov stands on partials right now.)
13:31
@Crell Not further than a few months ago. I do wanna get back to it eventually, I just didn't feel like dealing with the headache :)
Understandable...
Want to work on enums in the meantime? ;-)
13:48
@Crell I would, but we'd need to decide which direction we wanna go in first ^^ The sealed classes approach is the most flexible (as it allows for both methods on the base class and child classes) but I'm still not sure that's a good idea because of the autoloading problem (how do we know in what file we'll find Acme\Option\Some (it's in Acme\Option.php).
Presumably, it would only be referenced as Option::Some, so you could know that way. Much like referencing a constant on a class.
@Crell Not with sealed classes, in that case all the cases are normal sub-classes. At least if we want the least amount of magic possible.
Refresh my memory: Sealed classes means what exactly?
And I guess for practical reasons we'd nest the sub-classes, to avoid class name clashing.
@Crell Sealed classes means the class is not final but it has a fixed set of sub-classes. That helps making sure checks are exhaustive. This is probably closer to ADTs than traditional enums. That's why Kotlin does both enums and ADTs separately. I'd honestly prefer a solution that does both (like Rust does or Swift).
Because why implement something twice when it can be handled the same.
goes to reread his writeup from before
14:10
I don't think sealed classes is going to fly nicely in PHP, frankly. A single ADT structure seems like it will work better and avoid more problems.
@Crell I think so too. Levi suggested not doing ADTs at all and just solving it through typedefs and union types but that has similar implications (all "cases" need to be defined in a separate file or it won't play nicely with the autoloader)
I think I covered that in my analysis. I'm fine with typedefs, but that doesn't solve the enum/ADT problem acceptably.
It has a few issues:

1. Autoloading, as mentioned above
2. There's no common type with `Some|None` so you'd need to make sure common methods are actually compatible manually, or with an interface
3. If you instead create a common base-class `Option` we again have no way of restricting the sub-classes
Swift/Rust is the model I'd advocate building off of.
@Crell Yay ^^
14:15
Overall, I think the general approach I recommended before is still sound, give or take specific syntax and implementation details.
(IIRC, it's vaguely Swift-ish with a little Kotlin inspiration.)
What I'm still not sure of is how match will interact with enums. They're a natural pairing, but as implemented I'm not sure what match would do, since it may not always be testing equality per se.
Mostly I've not thought that through in enough detail.
@Crell Well, in Swift and Rust you can do that exclusively though pattern matching, there's nothing else.
Note that pattern matching is not exclusive to match, it also exists in if, while, and even in function params.
Which may or may not be a good approach for PHP.
I'm thinking more match, as it exists today.
@Crell The alternative would be to access the discriminator value directly and comparing that (something like $option->discriminator === Option::Some) but I'm not sure that a good idea.
Apart from that, I don't see many alternatives.
With the other two solutions (sealed classes and unions) you'd do $option instanceof Option\Some.
@IluTov What's the current blocker for partials?
match $maybe {
Maybe::Some => ...,
Maybe::None => ...
};

That would work iff equality works that way. Which... it probably should for unit cases, but not for associated data cases, like... Maybe. :-)
14:30
@LeviMorrison Nothing really. I was just progressing slowly because that part of the code base is relatively foreign to me.
@Crell Normally you can just wildcard (_) the values you don't need.
match ($maybe) {
    Maybe::Some(_) => ...,
    Maybe::None => ...
};
Right, but that's going to be a modification of the current match. Which is not necessarily wrong, just noting the scope creep to keep in mind. That impacts the RFC acceptability.
@Crell Yes, ADTs and pattern matching are highly related.
14:45
PHP 8.0 beta2 crashes with default JIT flags due to hardware incompatibility ・ JIT ・ #80014
So does that mean the enum RFC/patch is also going to need to overhaul match at the same time? (This is where I get logistically concerned, just from a "can voters swallow it" perspective.)
@NikiC Dmitry is unhappy with 0.5%-1.0% overhead when not in use, but I don't think his opcode approach will work: most of the changes needed weren't in opcode handlers at all.
If removing zend_execute_ex eliminates that overhead, do you think 0.5-1.0% is acceptable knowing that once we remove zend_execute_ex it will go away?
/cc @beberlei @Derick
15:02
@Crell Depends on how we decide to design it but most likely yes. As part of the RFC we should probably add the absolute minimum to match to make it usable. And if we want more pattern matching stuff to do that in a separate RFC.
But yeah our current RFC process is a bad fit for doing anything that isn't completely independent.
cmb
cmb
@LeviMorrison, re github.com/php/php-src/pull/5857#issuecomment-679177664 – did you mean to ping Dmitry?
No, meant to ping you since you tagged it 8.1.
Access violation Crash of PHP 8 ・ JIT ・ #80015
@IluTov Aye. I can iterate further on the possible syntax, but are you mostly on board with what I proposed in my writeup?
I think it needs more polish yet, and some sample code to really stress test it, but I can do that if you're good with the general thrust of it.
All these JIT bug reports are expected, but I'm surprised people are actually testing it.
@cmb Ah, wrong username thanks
Been in a frenzy this morning trying to take action on various things.
cmb
cmb
15:10
@LeviMorrison I think that Gabriel wanted to convey a message as RM. :)
and np regarding the ping; I was just confused :)
@cmb We've actively been working on it and soliciting feedback from relevant internals people; I don't think there is any grounds for an RM to block it as long as it merges cleanly.
@Crell I'll give it another focused read. But I think we're on the same page. In terms of syntax, my biggest concern is ambiguity with arbitrary expressions in the lhs of a match arm. Just Maybe::Some(_) won't do because Maybe::Some( looks like a function call and requires lookahead. This can easily be solved with a prefix but that a) makes it longer b) I couldn't think of a fitting prefix
Really unfortunate that the one person who doesn't seem to like it, Dmitry, has been so slow to respond to everything.
cmb
cmb
I think he's pretty busy with the JIT and otherwise :)
I vaguely recall liking what Python just did. I'll have to look it up again to see what it did.
Hm. I just realized that because match is an expression, you can have a nested match as the left hand side of a match arm.


... Please never do this.
15:13
@LeviMorrison Xdebug needs that hook though for many other things?
I'm not proposing to remove it now.
@Derick Labour are pretty good at that too, fwiw
At what?
Just that if removing it removes the same overhead it seems acceptable to take a tiny hit that will be removed once the feature it intends to eventually replace is removed.
Personally, I think he has some other reason for being unhappy with it. 0.5% is pretty low and the alternative is an inherent segmentation fault? Clear win...
The reply is linked. ((Saving you the effort)) At being corrupt and stealing public funds
15:16
@LeviMorrison Is removing zend_execute_ex realistic? I don't think this covers all use cases
It should cover all the same cases, but I am not proposing that we remove it NOW, just that if the overhead is removed then it is acceptable to take 0.5%.
Since this will eventually replace that API. Again, not actually removing it yet, just eventually. Would need to verify that it indeed can cover all the cases, get some production time, etc.
0.5% to remove a segmentation fault path seems really clear to me.
@NikiC Does that make sense to you?
@Sara Missed that... yeah, Labour, is ... quite shite in Brent where I live.
what is that crash path that you're tlaking about? I haven't been following the discussion
@Derick It's just zend_execute_ex's inherent stack overflow.
oh right
15:43
@IluTov do you know what EXT_CALL zend_is_true, r0in the JIT means? (Line 7932 of zend_jit_x86.dasc) I suspect it is calling zend_is_true but I don't know what r0 represents? Is it a register?
@Girgias Yeah, the result of the function call is stored in the register r0 AFAIK.
EXT_CALL is a macro defined above.
@IluTov right and it segfaults if I change the return from int to bool
Oh
@IluTov r0 is the scratch register
The result will also be in r0, but that's independent of the , r0 part
@NikiC I just noticed. So it's basically any free register? Why not just always use r0 if the function call uses that for the return value?
15:52
@cmb or @salathe - screenshot of changes I made for the Assignment Operators page, anything I should change before I open a PR? i.sstatic.net/Wnm2M.png
I don't really know how opcode specialization works. @NikiC, do you think we could add an opcode specialization for if observers have been registered? I don't want to fork the code in the traditional sense.
(used the --format xhtml flag when rendering, so styling is a tiny bit different locally)
though, I'm thinking it might be nice to link to the pages separately like was done in the comment I used as reference: php.net/manual/en/language.operators.assignment.php#40084
may just push to SVN depending on how long I want to spend trying to fix my github fork :S
I guess void functions don't necessarily modify r0. But is that guaranteed?
cmb
cmb
@Tiffany looks good to me; if $a ??= $b is not equivalent to $a = $a ?? $b, it should be explained, though. And linking to the non-assignment operator pages seems like a good idea.
@cmb maybe it is equivalent, I didn't test it thoroughly enough, I'll check it
I know there are possibilities I'm missing, but $a ??= $b seems equivalent to $a = $a ?? $b
@cmb should I make the titles the links to the pages? I want to follow whatever the convention is as far as linking to other pages within the manual. I'm not sure if I should add something next to the title or below the title... and from an accessibility standpoint, it may be better to have the link after the title
16:10
@LeviMorrison seen his reply, maybe we should make a "temporary" patch removing zend_execute_ex to see if it improves overhead and then take the hit in 8.0 with the timeframe of removing execute_ex for 8.1, also maybe allow to optionally disable the new thing with an obscure flag but enable by default
@beberlei IMO it needs to be on in the build all the time -- if it's toggleable someone will turn it off and then it's not usable and you have to implement the same thing on multiple hook systems.
But yes, I agree with the temporary patch. Sammy is going to investigate specializing ZEND_RETURN to see how much perf improvement it might gain.
@LeviMorrison not if the path of removal is 8.1, then you just have to wait a little
16:31
@IluTov Do we use r0 symbolically to represent "next available GP register"? Or is this on like, ARM or something where r0 is a real register name?
cmb
cmb
16:41
@Tiffany linking the title wouldn't make sense, because these are about the assignment operators. Maybe just add something like "see also <link>arithmetic operators</link>"?
I have a git/github issue... I'm not sure what I did wrong or how to fix it. I want to open a PR with php/doc-en, but the pull request is including commits from a different PR I made in May/June that was already merged.
I created a separate branch locally and pushed it into my fork, which is what the PR is based on... https://github.com/php/doc-en/compare/master...tiffany-taylor:assignment-operations
@cmb should I do a section at the end for "See Also"?
I can't remember an example off-hand, but I've seen pages in the manual with "See Also" at the end... not sure if I should do it like that or have a "See Also" after each tab.... after typing that out that just sounds weird
@Sara It's the eax register which doesn't need to be preserved according to wikipedia.
> According to the Intel ABI to which the vast majority of compilers conform, the EAX, EDX, and ECX are to be free for use within a procedure or function, and need not be preserved.
str_repeat($input = '5', $mult = 5) — wouldn't $str, $repeats as argument names not be nicer?
16:56
@Tiffany probably either create a new branch, and cherry-pick the commits you want, or do an interactive rebase git-scm.com/book/en/v2/Git-Tools-Rewriting-History . Though I think I normally do that with git rebase -i abcd123 where that last bit is the SHA number of the commit to rebase from.
@Derick or just $number, as in "str_repeat - repeats $str for $number of times"
"$number" on its own doesn't really mean anything
it's not a name, it's a description. I can see that it is a number
@Danack sounds like something I'll have to do in gitkraken then :S I'm still uncomfortable doing rebase and cherry-pick from CLI
well... rebase that involves more than running git rebase
I do cherry picks in a gui....but interactive rebase are probably less confusing when done through command line imo.
@Derick str_repeat(input: '5', times: 5)?
is "times" ambiguous to non-native English speakers?
17:03
@Tiffany Ambiguous how?
I can think of at least three different meanings for "times," but as always, context means everything
str_repeat(repeat: $str, count: 5)
What do you think of that?
@Tiffany Sure, but combined with "repeat"
The real PHP way is adding all of those as aliases xD
@LeviMorrison's suggestion seems less ambiguous
@IluTov ಠ_ಠ
17:05
In this case I hope most people would just write str_repeat($str, count: 5) :) That is, if they used any named params at all.
@IluTov ¬_¬
took me way too long to find that...
anything but $mult and $number :-)
@IluTov That's what I'd have assumed (though rax surely. eax is 32 bits :p)
@Sara Yeah, depends on what architecture you're using.
17:10
Just wanted to confirm, because ARM (for example) really does have registers named r0 - r7
I think PPC64 may use those names too
x86(_64) is special in having these rdx, rcx, rdi, rsi, r8, r9 sequence of ABI registers
((Unless you're on windows which doesn't use the r8/r9 regs))
Because god help this architecture
@Derick I think count is much better than multiplier; repeat may be better than input but I don't care so much there.
Like I said, anything but $Mult and $number
@Sara Yeah seriously, they couldn't have made that any more confusing / impossible to remember.
I get it, it grew. But still.
I just kind of love the breadcrumbs of 8bit (ah/al), 16bit (ax), 32bit (eax), 64bit (rax) progression
'cause like, the FP registers are entirely sane.
But FP didn't really exist until (relatively) late in the architecture, so I guess they learned some lessons.
@LeviMorrison anecdatally, people seem to be testing stuff earlier....people were complaining about Imagick not being compatible with php8 in July, and multiple people upvoted that as an issue...
Anyone seen Remi online in past few days? Suspect he is en vacances and don't want to bother him if he is.
17:51
this change refuses to validate when running the configure script for docs, I get several PHP warnings that the containing <sect1> doesn't follow the DTD. If I remove the highlighted section from operations.xml, it validates fine.
I can't figure out what I'm doing wrong
18:08
@Tiffany try wrapping your para in a <sect2 xml:id="something_appropriate_here">
@Danack I guess...but I didn't see it needed elsewhere... just feels hacky
I guess it does kind of fit in the "other" section above... I can see if it works in there...
If you look at the definition of sect1 in the docbook dtd, I think it says "if you use sect2s", you can't intermingle them with para's.
I suppose I should actually read the DTD ...
sticking the para in the above sect2 worked, thanks
18:35
18:59
ID  | ID_PROD | NAME
1   | 1       | Test 1
2   | 2       | Test 2
3   | 3       | Test 3
4   | 4       | Test 4


SELECT * FROM cad WHERE ID_PROD  IN ('1,2')
Good afternoon everyone. How to perform a search, but in the search being passed one or more separator parameters by comma?
Wes
Wes
SELECT * FROM x WHERE y IN (1, 2, 3)
SELECT * FROM x WHERE y IN ('1', '2', '3')
I was putting single quotes, unnecessarily.
Thank you.
does anybody know how to start the built in php development server and allow HTTPS requests ?
19:16
Just use a proper webserver
I do, I using this for local development of CakePHP 4.x and I can't seem to get it to work properly with xammp. I am open to other suggestions
@TylerLazenby why do you need HTTPS for local dev? but maybe: ngrok.com/docs
Its really dumb actually
I am developing using the twilio sdk, and unless I have a ssl connection on outbound, they reject the rest request
ssl connection on outbound
local webserver
Those two thing do not compute
19:20
webserver is from incoming traffic
let me show you the error message on a posted imgur
one second
...maybe just post text? on pastebin or gist.github.com
the image is better trust me
Googling for: twilio unable to get local issuer certificate gives a whole load of things. Do none of them apply?
searching for "php unable to get local issuer certificate" also gives many apparently relevant results.
I am swimming in documentation that I am very unfamiliar with
just complaining
19:34
could you need a cert for curl?
I think I found something that will do that
thanks for the google search suggestion @Danack
PHP Warning: exif_thumbnail: Illegal IFD size ・ EXIF related ・ #80016
@Danack Extremely likely as everything is closed in France from 15th of August to the week of the 1st of September
@Girgias COVID?
@Tiffany Nope, general holiday period
Like nothing gets done during these 2 weeks
19:44
general holiday period, wtf is that :D
everyone and I mean everyone is on holiday
Except if you work in tourism
what if you need milk?
Administration is closed
well okay super markets are open
and farmer's markets
But administration, builders, trade workers, nearly everything is just closed
I'd like, in production, to track the memory usage of the application. What's the right way to do this? Which function should I use? Where should I place this function? (in index.php? in register_shutdown_function()? Please advise. Thanks
20:03
@Girgias What about petro stations?
thinks of other things to name
@Tiffany August.
@StatikStasis those are mostly automated, or at least are in Normandy. And in general, service workers don't take as much time off, but office workers are gone.
@PaulDragoonis use apm monitoring like: tideways.com
@Danack ? I guess I'm too used to how badly COVID is being handled over here...
what does it being August have to do with it?
@StatikStasis Dunno most of them are self-service bia credit card
@Tiffany as Girgias said, everyone who can afford to, takes a lot of August as holiday.
ah... I just assumed that the reason it was closed was due to COVID, I wasn't aware of "general holiday" until now :P
the land of very few worker rights
20:18
@Girgias Oh okay- most states here are that way as well. However there are a few odd ones where it is the law to have an attendant pump fuel still.
New Jersey...
@StatikStasis ye wat
And Oregon I believe.
@Girgias New Jersey requires an attendant to pump fuel for customers...
At least that is what I found out the other day. I only knew about NJ before that.
20:19
@Danack It is sometimes company policy and all employee must take 2 weeks off (out of their 5weeks)
But... why?
there was a bill introduced I think in IL House to require attendants to pump fuel... I think it died in the House too...
I have no idea. We have self service pumps in every state I have been to.
I mean I'm not the most manual person on earth but I still know how to put petrol in a car
Not like it's super hard
I agree.
Of course, whenever I am in Dominican Republic, they have attendants pump the fuel there as well.
20:21
that doesn't really explain the why of the issue
Wow... having to tip every time I fill up on gas would suck. (Egypt.)
> For years, Oregon drivers had to sit in their cars as well, waiting for an attendant to fill ‘er up. However, effective January 1, 2016, Oregonians in rural counties are allowed to dispense their own gasoline at night. The measure was designed to keep motorists from getting stranded in remote areas after gas station staff had gone home for the night—a very real problem in the state’s sprawling terrain.
> In New Jersey self-service fuel filling is illegal. It was banned in 1949 after lobbying by service station owners. Service stations only offer full service and "mini service". Proponents of the ban cite safety and jobs as reasons to keep the ban.
At most you have a counter at the exit to pay by cash and/or to pay for gaz/propane tanks
20:22
@Danack I was thinking it may be a job thing.
I mean we used to have a lot of manned toll gates on French motorways but those got mostly removed for credit card payment only
If your chosen skill is putting a pump in a gas tank and filling it up... you are limiting your future prospects greatly.
something I noticed with the one or two gas stations I've been to since the pandemic, they've added these tear-off, single-use sanitation gloves to handle the pump, which is nice
they look like the gloves that lunch ladies used in grade school
I usually slather my hand up with hand sanitizer and coat the pump.
kinky
20:27
=P
Yeah- that sounded more sexual than intended.
I am literally laughing out loud in my office while I re-read that.
@Danack Hey Dan! I'm not in a position to use commercial software. Can you/or someon else? suggest a simple native PHP solution ?
@PaulDragoonis self-built i would reigster shutdown function, memory_get_peak_usage, push onto a redis list, have cronjob that processes the list, calculates the average and max and stortes it somewhere.
@beberlei thank you! I knew my gut was right on using reg_shut_func. I'm going to push the results to logstash. Specifically, what I need is the URL and the peak_mem for that URL, so I can see the worst offending URL. Once I have this URL I can then profile that one specifically.
20:35
@PaulDragoonis are you sure about URLs? i would imagine you want controller + action name instead
urls are usually unbounced, many thousands or hundrets of thousands
@beberlei I understand, you're right, but how will the reg_shut_func() know what the framework's controller action is ?
@PaulDragoonis use a listener in the framework to store that somewhere in global variable
Is there a prof-safe PHP extension I can use to get mem info? xdebug is ofcourse not prod-safe.
It's PHP 7.2
@PaulDragoonis memory info of what kind?
memory used up on a per-function basis.
20:45
@NikiC github.com/php/php-src/pull/5994 seems to be pretty much impossible, how can we know the offset at all when the delayed opline stack can grow and shrink any amount of time before we actually set the jmp target? :/ I'm out of ideas. Can you see an obvious solution?
@IluTov I'd have to check more carefully, but possibly we can insert the offset when materializing the delayed oplines
@PaulDragoonis i guess github.com/tideways/php-xhprof-extension :) but its not prod safe as in can run in 100% of requests
but the data from that is way too large for logstash
@NikiC In other words, iterating over the oplines when copying them from the delayed stack? I'm not even 100% sure all the delayed oplines will be moved to the main oplines by the time zend_short_circuiting_commit is called. Delayed oplines are kind of annoying :/
user379888
21:03
Can someone please help me how I can access the value of session_id using PHP in this JSON? Thanks

{"error":0,"error_code":"","error_text":"","item":{"session_id":"12345"}}
cmb
cmb
21:26
@Tiffany nice! I would suggest to keep the sectioning separate from the new tables; the former might better be done for the whole "operators" chapter.
user379888
@IluTov Thanks
reason I'm just asking you in r11 instead of opening a PR is because I'm being lazy in trying to fix my github fork and my local git history, so I'm just going to commit it to SVN when you think it looks okay
it seems between my github PR in June and the commit that added my PR to SVN caused merge conflicts in my repo and I'm having trouble figuring out how to resolve it all
I need to manually update the revision number at the bottom, also, correct?
^top, not bottom
....I just realized I did the variance.xml page incorrectly back in March, there's no revision number :S
cmb
cmb
22:09
@Tiffany there is a general issue with the SVN + Git workflow right now. For me, that often manifests when I "merge" PRs: apply the formatted patch of the PR to the Git repo, export as patch and apply that to the SVN repo. Finally I commit to the SVN repo. But now my Git repo is stale, because the last commit doesn't match the SVN repo's last commit. I have to reset the Git repo the the second but last commit.
The "merge conflicts" you are mentioning might have a similar reason; actually, you shouldn't even merge but rather git pull --ff-only. You may have to git reset … before you can pull fast-forward only again.
@Tiffany ("at the top") no; SVN does that automatically, and Git ignores the revision completely.
@cmb yeah, I changed the local config to git config --local pull.ff only and git config --local merge.ff only
but I probably need to reset
if you're okay with how I have it sectioned currently, I'm going to go ahead and push via SVN
22:58
@cmb or would you rather me take a screenshot of the page overall to see how it all fits together?
or were you referring to adding this? chat.stackoverflow.com/transcript/message/50292601#50292601 (sorry for the multiple questions, trying to understand what you preferred)

« first day (3600 days earlier)      last day (1573 days later) »