« first day (1871 days earlier)      last day (3092 days later) » 

12:05 AM
@NikiC what's a good reason for not having an object handler for empty($value)? Seems logical to have it alongside count_elements.
I can't come up with a reason why it shouldn't exist.
 
12:18 AM
> A variable is considered empty if it does not exist or if its value equals FALSE
$obj = new StdClass;
var_dump($obj == 0);
When would that comparison ever be true?
 
Anonymous
in a perfect world
 
Where justice is blind, one man
 
12:55 AM
:-)
@Danack well, the object could implement a comparison operator internally
just like gmp does
 
Shh....
Although I kind of do want that, I think it needs to be in an explicit way. e.g. either declaring that a class has a __toInt() magic method or class foo extends \float{}....and it would still be weird having those be 'empty'.
 
1:15 AM
yup
 
Is there a standard way of protecting against simultaneous submission of the same form, on two different web pages by the same user? i.e. they have the same form open on two pages, hit 'submit', switch to the other page, and hit 'submit' there as well. If the data is stored in the session during the post/get/redirect, with a consistent key name based on the form, then the data from the second page could overwrite the data from the first, before the first get is completed...
Other than tell the users not to do that.
 
1:30 AM
have an "id" for the resource underlying the form, and increment it when you submit it
that way you compare ids and if they aren't the same, then reject
 
How do I pass a variable from sonata admin to another controller. I'm using symfony
 
How can I match up the form submitted on each page with the IDs stored? Pass is as query param when the get redirect is done?
@Ajit I have no idea, but i searched for "symfony call controller from controller" which might be close to what you want... or not: symfony.com/doc/master/cookbook/controller/service.html
 
 
1 hour later…
3:00 AM
@Danack Yes.
I can't think of the term for it.
(for the method I am thinking of)
Essentially you stick a token into the form and then cross-check it with your issued and redeemed tokens.
It's a pain to do but if if this problem is something that needs fixing it can be done.
If person X has redeemed the token already then give them a message saying they've already submitted it (or whatever other action).
 
Anyone knows what is this 2015-11-30T10:42:53+08:00 timestamp format?
 
3:51 AM
probably.
> Coordinated Universal Time (French: temps universel coordonné), abbreviated as UTC
Because naming things is a zero sum game.
 
4:49 AM
@Danack Ic.. tyvm
 
5:01 AM
i have one issue with woocommerce
i have one static menu
and i am trying to make it dynamic
 
5:20 AM
Hey guys
Can you think of a dupe to stackoverflow.com/q/33990162/871050?
 
@MadaraUchiha it got OT:ed though
 
@Gemtastic I got it OTed
But I'd rather mark it as a dupe
If possible
dupe (almost always) > other close reasons
Because dupe is helpful to visitors.
 
Well, it's OT:ed so shouldn't serverfault be the more accurate page to find a dupe of it?
 
(Even if the dupe is closed, mind you)
 
I agree
 
5:23 AM
@Gemtastic .htaccess and PHP are on-topic on Stack Overflow.
That specific question is not.
But it sounds like a common problem so there may be a dupe with good explanation on it already
 
@MadaraUchiha Yes, which is why I'm suggesting server fault :P
 
@Gemtastic They won't accept it.
But if you think that it should really be migrated, flag it.
We'll ask, and if they want it we'll send it :)
 
I'm not sure a migration is right either, like you said; even a closed answer could be helpful to viewers
Also I can't flag it for migration anyway
 
@Gemtastic Hmm? Why not?
 
@MadaraUchiha It doesn't show up as an option to me when it's closed
 
5:31 AM
@Gemtastic Custom flag
 
I can't do that, Dave
Did you forget what it's like to only have 1k rep and no mod powers? ;P
 
@Gemtastic You can always custom flag...
Ever since you get the flag privilege at, like, 10 rep
"in need of moderator intervention"
 
That's not custom flagging in my world, that's "HALP MOD I dunno what else to pick" And I've been specifically told not to use it by mods.
Because I used to :(
 
@Gemtastic If the option exists in the close section of the menu, use it.
If it does not, a custom flag is perfectly fine.
Also, custom flags can be used to alert moderators of anything that might require their attention, including suspicious voting, problem edits, rude username/profile picture, anything else that a normal user would not be able to handle.
Don't be afraid to use them just because you made a mistake once
 
5:58 AM
moin
 
stupid internet isn't working properly
 
@JoeWatkins I'm usually a calm and collected person.
But if there are 2 things that boil my blood they're power outages and internet outages.
 
since saturday it just keeps cutting out, and now it's totally gone, am tethered to mobile ...
(14mbps down, but 2gb data limit)
 
@JoeWatkins And what does the provider have to say about it?
 
6:03 AM
the usual bollocks, they are "doing line tests" and "investigating" ...
 
@JoeWatkins Tell them your wallet has outages too, and you're doing financial tests and investigating
 
my favourite is "it's probably down to bad weather" ... because everyone knows that networks can't work when it's windy or raining ... knobs ...
 
Friend of mine works at helpdesk in one of those companies in Israel, 99% of the times, those excuses are plain lies.
 
yeah they are just waiting for the problem to go away, or for it to be fixed by an engineer in the field anyway ...
 
@JoeWatkins Just ask to be disconnected and say you've found another company that guarantees better uptime.
 
6:06 AM
@MadaraUchiha Well, for closed questions all I can flag is spam, rude/abuse and moderator attention
 
14 months of two year contract remaining ...
 
@JoeWatkins How much would it cost you to break it?
 
£350-£500
 
Worth the no/spotty internet for potentially 10 more months?
@JoeWatkins That was actually deemed illegal by Israeli courts
Now companies can't bind you with a fine and aren't allowed to have your guarantee for N years of service.
 
it's extortionate, but I agreed to the thing ... the main problem is ...
 
6:08 AM
Aha
 
I live on that tiny little island off the mainland of the UK ... there is only one network, it matters very little who I pay to get me on it, I think ..
 
I'm surprised no one gave you the "Sharks are chewing on our cables" excuse
 
Are there even sharks around the UK apart from the whale shark?
Also; those kinds of contracts are illegal here too.
 
it's actually £700-£1000, 50 a month for 14 months, then early termination fee is usually another few hundred on top ...
they get argued about, but the law is not on my side still here ...
I paid early termination fee years and years ago, when the first fibre networks were here (mainland uk), I agreed to >100 a month for a connection, but it was so terrible, I cancelled it after three months, it cost me a grand and I was stuck on adsl for another two years ... really backfired quite badly ...
on the upside, my 4g phone is half as fast as my fibre connection ... but only for a few hours, then it starts to cost silly money ...
 
How can the fiber be that bad? O.o
Are you sure it was fiber and not cable?
 
6:17 AM
it was cable, part fibre network though, but cable to the cabinet ...
it was just so unreliable, the cabinet was at the end of the road, any time the engineers came to do any work, it was out all day ... in the evenings it was really slow and would drop out completely, it was just terrible ... I was freelancing back then and I just got tired of missing appointments and deadlines because I was on the phone to the damn isp ...
 
Hi all..
 
moin
 
@MadaraUchiha may i post job notification here?
 
walking dogs, lata ...
 
Wow... feeling pretty blessed with my real fiber connection here
I had two weeks of downtime last november though but other than that it's super-stable.
 
Abe
6:40 AM
morngisfs
 
6:53 AM
o/
 
Error's :
Notice: Use of undefined constant DCITY - assumed 'DCITY' in /home/abhiranpura/sandbox/intl_rwd/views/hregion.html on line 29

Notice: Use of undefined constant DSTATE - assumed 'DSTATE' in /home/abhiranpura/sandbox/intl_rwd/views/hregion.html on line 30

Relavent code

define(DCITY, trim($city_state['0']));
define(DSTATE, str_replace(' ','',$city_state['1']));

dont' know why that error comes and what dose that meen according to me it seems fine ????

any one any idea !!!!!!
 
are you including that file?
 
yes
 
also you need quotes still
define('DCITY', trim($city_state['0']));
otherwise you're naming the constant with a constant
 
okey..
it work txs @crypticツ
 
6:59 AM
 
but bcos of the one more error came !!
define ('DAREA',value);
var DAREA = "<?=DAREA?>";
 
is that the real code? If so, 'value' should be quoted if it's a string
 
Abe
@abhi read a php manual?
 
@Abe I was about to get to that, just finishing my glass of wine.
 
Abe
it's a really bad idea trying to learn a language by guessing it
 
7:03 AM
okey
 
Abe
speaking of guessing languages. i'm going to guess C soon
 
one of us, one of us, one of us ...
 
Abe
rofl
what is bad is that probably learning C won't be enough to hack stuff in php
php is huge...
 
Are there any coding standards like PSR for C?
 
Abe
for instance i will never be able to add generics in php in short time
perhaps i should start doing something smaller.... but no need no try
need is the mother of all inventions... :P
 
7:12 AM
^ that, and boredom
 
Abe
lol
 
@crypticツ well not really, there are different versions, C89/C99(C9X), and some compilers force convention on you, and some projects do the same ... but you can do whatever your compiler can handle really ...
I wouldn't start with generics @Abe
 
Abe
@JoeWatkins how hard would it be to add non virtual methods in php? (the rfc i tried to write)
 
I would find that difficult
I forget everything, which rfc ?
 
Abe
basically rather than calling the latest-in-hierarchy method, call the type-hinted-in-hierarchy one
 
7:14 AM
modifying the parser for generics is not so difficult, I've actually had a patch for the parser that supported the required syntax, many moons ago ... but it's the actual implementation of it that is difficult to get right, it's not as straightforward as it seems ...
oh so overloading ...
 
Abe
class A{ nonvirtual function test(){} }
class B extends A{ nonvirtual function test(){} }
function test(A $a){ $a->test(); } // calls A::test() rather than B::test()
test(new B);
 
hey guys, can anyone tell me the third party freely server to use for push notification on iphone using php at backend
?
 
oh that one ...
is that not the casting rfc ?
I'm confused
 
Abe
yes, casting is related
 
Is there a way to check parent class method in child class trait?
http://laravel.io/bin/zj9ej
 
Abe
7:16 AM
i will need to implement that as well
it's part of the same feature
 
the first thing to do is break it down into separate features
you can't justify a feature just by saying that some other feature requires it, it has to have merits of it's own ...
 
Abe
class A{ nonvirtual function test(){} }
class B extends A{ nonvirtual function test(){} }
function test(B $b){
    $b->test(); // calls B::test()
    $a = (A)$b;
    $a->test(); // calls A::test()
}
test(new B);
 
start with casting I would, justify that, then justify this new thing by itself, if casting gets in ...
 
Abe
apparently it's the same feature @JoeWatkins so told me nikic
 
so was hinting for a callable and a string
yet they happened many years and versions apart ...
 
7:19 AM
posted on November 30, 2015 by nlecointre

/* by housamz */

 
Abe
casting would be just a name attached to a variable reference
but the actual feature resides in non virtual methods
 
Morning
 
Abe
it's basically what i tried to write in the rfc, but rather than being class level, it would be enable-able just for specific methods
 
it might be too early on monday morning for complex stuff
moin @Epodax
 
Abe
like, methods declared non-nonvirtual will continue to behave like they behave now
 
7:22 AM
afk, taking misses to work ...
 
Abe
later!
 
Abe
7:37 AM
also casting could happen by calling a method @JoeWatkins would avoid me changing the parser :P
$b = new B;
$b_being_a = $b->cast(A::CLASS);
assert($b_being_a === $b);
$b_being_a->method(); // calls A::method() rather than B::method()
need to update the rfc
 
7:55 AM
o/
 
Abe
o/
 
\o/
 
@rtheunissen why does write dimension of hashset ignore offset ?
    if (offset != NULL) {
        INDEX_OUT_OF_BOUNDS();
        return;
    }
this looks odd to me
 
I'm basically only supporting the NULL key case.
Because it doesn't really make sense to have access to the keys, or to change the value of values contained after adding them.
I considered having $set[$value] and isset($set[$value]) be the same as $set->contains($value) but that bug means that it won't be consistent as at 7.0.0
 
8:12 AM
that would be some strange usage
 
Exactly.
 
$thing[] = &$thing;
this never invokes read_dimension
I'm confused
 
Oh right, but it does?
 
no it doesn't, it invokes write_dimension with a null offset
 
Throw a printf in there, it's throwing that OOB in the read handler.
Unless I traced very poorly.
 
8:13 AM
$std[] = &$std;
it doesn't ...
L1-3 {main}() /usr/src/collections/test.php - 0x7fd28d873100 + 7 ops
 L2    #0     NEW                     "stdClass"                                @0
 L2    #1     DO_FCALL
 L2    #2     ASSIGN                  $std                 @0
 L3    #3     FETCH_R                 "std"                                     @4
 L3    #4     ASSIGN_DIM              $std
 L3    #5     OP_DATA                 @4
 L3    #6     RETURN                  1
[Script ended normally]
ASSIGN_DIM invokes write_dimension
 
It's definitely landing in that null key case in the read dimension at some point.
And only does so if I append the reference.
 
ah FETCH_DIM_W
it's a read for a write
does that make sense ?
krakjoe@fiji:/usr/src/collections$ cat test.php
<?php
$std = new stdClass;
$std[] = $std;
$std[] = &$std;
?>
krakjoe@fiji:/usr/src/collections$ phpdbg -p* test.php
function name: (null)
L1-4 {main}() /usr/src/collections/test.php - 0x7f61b2260a00 + 9 ops
 L2    #0     NEW                     "stdClass"                                @0
 L2    #1     DO_FCALL
 L2    #2     ASSIGN                  $std                 @0
 L3    #3     FETCH_R                 "std"                                     @4
 
Yeah, kind of like $a[0][0] = 1?
 
in that case when BP_VAR_W you should handle it the same as a read_dimension without null, I guess ...
(this isn't something I've done, I'm not that confident I'm right ...)
 
What value do I add though? The obj?
I don't know when anyone would ever want to do this but I'd like to do my best to cover it.
 
8:21 AM
Man I could use a nap
 
@Epodax you won't regret taking one. Unless it turns into a sleep, and you find yourself awake at 2am because you slept all afternoon by accident.
 
@rtheunissen Well, I'm at work right now, so I kinda do think I'll regret taking one
 
I'm not sure
 
@JoeWatkins adding the object behaves exactly the same as adding the instance to itself not as a reference.
Which is progress :p
 
I think you might want to add an empty element ...
possibly ... and return a pointer to it ...
so that ASSIGN_REF can do it's thing with @5 ...
and now we have descended into total nonsense ...
afk, school run, back in 10 ...
 
8:27 AM
Kk
 
8:41 AM
did that work ?
 
I worked on some other tests while you were away, but I did have a go but ended up at the same case a 2)
Also, what did you mean by "an empty element"?
 
morning!
 
if you look at the operands, it looks like op2 (return_value to read_dimension when type == BP_VAR_W) is op1 of ASSIGN_REF
so it looks like FETCH_DIM_W is expecting you to return an element to which the next opcode (ASSIGN_REF) can write ...
 
Hmm interesting, currently not using op2 at all, right?
 
but I'm not sure ...
right
wait, I read it wrong
it is used, it's the return_value, not op2
NEW                     stdClass                J2              V0              -
DO_FCALL                -               -               V1              -
ASSIGN                  $std            V0              V2              -
FETCH_R                 std             -               V4              local
ASSIGN_DIM              $std            -               V3              -
OP_DATA                 V4              -               -               -
FETCH_DIM_W             $std            -               V5              -
op1 op2 return
so the return for FETCH_DIM_W is where you might want to put the empty element, which is passed as op1 of ASSIGN_REF, that seems to make sense ...
 
Abe
8:51 AM
what are these V's? (V0, V1, V2...)
 
they are variables ...
 
Abe
learning c is scary
 
a test script in inspector repo made that output, not phpdbg ...
 
I'm still staring at it.
 
Abe
oh lol
 
8:54 AM
FETCH_DIM_W             op1            op2              return              extended_value
FETCH_DIM_W             $std            NULL           result              extended_value
so op1 is whatever you are fetching dimension from, op2 is usually offset, and return value is usually where you store result (kinda obvious)
 
So far I've just been returning the result.
Haven't used that return_value at any point.
 
I think you might want too when type == BP_VAR_W, because read_dimension is being executed in a write context ...
not sure what to do with it ...
 
should my ./tests directory structure mirror my ./src structure? so ./src/Acme/Rockets/Foo.php and then ./tests/Acme/Rockets/FooTest.php There are no files in the Acme folder, just the Rockets directory, if that makes a diff.
 
either insert and return it ... or return an empty element and copy into return_value ...
I'm not sure ...
 
I'll have a play. I have it behaving the same as not using the &
 
8:57 AM
got a test where $instance[] = &$other; is invoked ?
 
Which is a start at least. Still failing the test though, but that might be a side effect of how I'm actually handling the serialization.
$other being a different instance?
 
yeah
 
Not currently but easy to add one. Could just create another using getInstance
I'll try that now.
 
make them distinct so you can tell the difference between them ...
not a clone ...
 
user1804599
Does it matter whether I use self or the class name in static methods?
 
8:58 AM
Distinct in the values they hold, or just distinct objects
Doing both, will report. 1 sec
 
both, either, depends on how you're debugging ...
 
Abe
@Elyse don't use static at all
 
user1804599
That's not useful.
 
user1804599
Unlike static.
 
you mean it's not what you want to hear ...
 
Abe
9:01 AM
it is useful @Elyse not trying to upset you. you should forget about static
 
Cool, @JoeWatkins it's appending the secondary instance as expected, but there is still a difference in the serialized string.
What I'm currently doing is adding as in write, and returning NULL. Not touching return_value.
 
Abe
they have literally zero purpose. though it doesn't make difference between self and the class name
 
user1804599
I could use functions outside classes, but autoloading doesn't work with that.
 
user1804599
Therefore, I use static methods.
 
user1804599
Whatever. I'll ask elsewhere.
 
Abe
9:02 AM
i have answered you
@Elyse for now use a require, in php7.1 you will be able to autoload functions as well
 
that's not certain ...
 
Abe
autoloading you mean?
 
actually that's probably the only legitimate use case for static ...
 
Mogguh
 
yeah function autoloading isn't done yet ...
mohaa
 
9:03 AM
\o
 
Abe
@JoeWatkins the poor man namespaced functions
 
yeah but it's all we have ...
 
Abe
citing someone in this room :P
 
the answer to the original question is not straight forward ...
 
Abe
afaik @ircmaxell wants to kick in function/const autoloading in php 7.1
 
9:05 AM
if you really are just using classes as a namespace for functions, then the class can be final, if the class is final there is no problem with using static ...
@Abe he's waiting for me to write the patch ... I'll have a weekend for it soon ...
 
G'morning!
 
moin new peepz ...
 
Abe
@JoeWatkins i'll make sure you don't forget about that weekend :D
 
you have to forgive the reaction @Elyse, while you might have a legitimate use case, 99.9% of the time it's not legitimate to use static ...
 
9:07 AM
 
Abe
@Elyse again, i wasn't trying to upset you :P
yo @Jimbo
 
\o
 
sausages, I think ...
 
Abe
i wish i had someone telling me "don't use static at all" when i was learning...
 
Hey Joe, how come you're on the move again?
 
9:13 AM
He can't stop buying new things :D
 
because the guy who owns the house died, about 6 months ago now ... so his daughter became the executor of his estate back then ... no one is going to sit on a quarter of a million pounds inheritance ... she's probably got bills to pay, funeral and care costs and whatever, we fully expected she would sell up ...
 
Holy moly.
 
@JoeWatkins Loving your comment(s) on that php-code-coverage ticket :-)
 
@JoeWatkins Ah, sucks. At least it's earlier rather than later though, you didn't settle in over years. You've found another place though?
 
@SebastianBergmann :)
@Fabor yep, and it has a river in the back garden ...
 
9:22 AM
Nice!
 
and we met the landlord this time, for first time ...
he actually chose us over a bunch of other people ... so looking good ... if all goes to plan I'll have the keys on the 18th of this month ...
 
Ah, sweet! Looking good then. How long do you have where you're at now for?
 
until 29th January
 
tetsing
 
Plenty of overlap then :D
 
9:28 AM
Are you suppose to unit test a bootstrap.php file?
 
yeah, but not in rent, because I'm nearly a full month ahead at this place ...
 
Peace of mind too then! Made that mistake for my last flat moving to the one I'm at now. Had to pay a lot up front, still paying it off on my CC.
Rent, final bills, new place rent, deposit, admin fees etc.
Absolute pain that was ):
 
Thanks for your help @JoeWatkins, I'll see what I can do.
 
I stay ahead all the time ... I'm terrified of getting it wrong again ...
@rudi welcome
we've talked with the owner about renting for maybe 10 years ... which on the one hand is great security ... but if I do that, I'll have handed over £120,000 ... and will have nothing to show for it ...
renting is a total rip off ...
 
good mornings
 
9:36 AM
@JoeWatkins Yep. Really sucks to not get on the ladder.
 
it might take ten years ... at least 5 ...
 
9:48 AM
Thought it was less to get on the market as a FTB?
With like, 5% deposit and stuff making it easier.
 
Hi guys, got a question for you. When naming directories for an MVC structure, do you name them with spaces, camelCase, PascalCase or with hashes or underscores? E.g. Would an AJAX files folder be, ajaxFiles, AjaxFiles, ajax-files or ajax_files?
 
I use camel or dashes, depending on the codebase, unsure what other devs do though!
Infact
not camel, pascal
for PSR-0
 
Thank @Sean, I am just unsure of the convention for this or if it could have an affect on the PHP/jQuery/JavaScript itself!
 
@Sean a mixture of things leads me to want to put down at least 10%, first, I need a big house, bigger than I'm renting ... I intend to foster children when mine are older, so that's 4 bedrooms at least ... I don't want to leave behind debt, I'd rather leave nothing behind ... if we don't put a decent deposit down the interest is so high that we might not be able to pay it off, especially if we need to re-mortgage for any reason (care for one of us when we are older for example) ...
so we're looking to save at least 10%, hopefully double that ...
 
Yeah, that's the trade off isn't it. More up front means less in the long run. It's cool that you've got it nicely planned
 
9:56 AM
it shouldn't be a problem, if only we can stay in one place for a decent amount of time ... as you know it costs serious money just to move house ....
if you have to do that 5 times in ten years, that might be your 10% ... little less ... but it's a huge loss whatever ...
I might not rent any people, try and do it myself with a big rented van ...
 
 
10:18 AM
@Fabor Mondays is a vacation day in your country ?
 
10:46 AM
:-D
 
10:57 AM
The topic of transistivity is actually doing my nut in since the RFC draft around it was posted a while back,
 
Abe
@Sean sorry for that
 
@Abe I can't wrap my head around it is all, I keep thinking of situations where child classes overwrite methods and how to refactor it so it fits in with the theory.
 
Abe
you don't have to follow it strictly
for instance for a method could be enough returning the correct type, for other methods you want the type also having the same value
 
I mean, it's a great thing. I'm always looking to learn haha. It's been a while since something like that has been at the front of my mind for so long.
 
Abe
basically some methods should just be final
for example, idk, getID()... you sure don't want a class returning a different id depending on the instantiated type
if we had non virtual methods (thanks to nikic explaining me what they are :p) it would be simpler overriding such "normally final" methods
 
11:21 AM
@Sean Don't forget though that there is actually no such concept as transitivity in object oriented programming.
 
Aye
 
Abe
@NikiC i've invented it. fyi was mostly quoting java/c# papers, though :P
 
@Abe In that case, you should cite the papers
 
Abe
will update the rfc once i get the time
need to read more about virtual/non virtual methods first
 
Can't say I have read many papers on theory of object orientation, but it's certainly not a term I have seen applied in this way anywhere.
 
Abe
11:28 AM
still, i thought my reasoning was pretty comprehensible enough. if B "is a" A, and (for example) adds no actual data to A, just reimplements the methods somehow, why would it ever return different values than an A instance constructed with the same arguments?
 
Yeah, my main gripe is that it conflicts with the composite design pattern if you're looking for exact outputs. And even then it's because I'm using the pattern at the moment =p
 
Abe
of course for most methods we only care of the type, but for some methods you want both the type and the value be consistent across the whole hierarchy
 
Yeah, your examples & explanation make it make more sense to me.
 
HI all.. I have a doubt in cakephp,Can I ask it here?
 
I doubt there's any CakePHP users here tbh, but no harm in asking.
 
11:39 AM
Thank you
How to use Associations with tables from different database?
 
Abe
@NikiC type is a misleading term, because we can have a type representing one value only. that clearly would be counterproductive in most cases because would lead to literally infinite types. imagine you had
class boolean, class true extends boolean, class false extends boolean
the moment you have a method returning true, you can't override that method in a child class and making it return false instead. it wouldn't be compatible to the super method. get my point @NikiC ? am i saying bs? you can be honest with me :p
of course for most cases the only thing we care of is the type, but sometimes we want the value to be consistent as well (since again, it wouldn't be a good idea having a gazillion types...)
@Sean ^
 
Abe
abstract class A{
   function test() : Boolean{}
}
class B extends A{
   function test() : True{} // True is a type
}
class C extends B{
   function test() : False{} // False is a type and it's incompatible with the super method's return type
}
 
that hurts my head ...
 
Abe
lol
read above @JoeWatkins ^
idk, i think i've grasped something interesting here... probably the same thing c# developers grasped when they decided to have non virtual methods by default :P
dammit @NikiC you always avoid me :D just to be clear, nobody is forcing nor asking nobody to implement that in php... but it's at least worth discussing...
brb
 
11:56 AM
niki probably just has stuff to do ... he's a people ...
can you clean up the RFC, start at the beginning, one thing at a time ... I'm totally lost with what you're trying to do ... I'm familiar with the stuff you're talking about, but it doesn't seem to help ...
 
What's the label for processing time based on the number of items to process
Something like n(1) or f(n) something?
 
Abe
@JoeWatkins fair enough, will improve it
@JoeWatkins was joking though :P
 
3v4l.org/edVna -- can anyone point me to the change that made this happen in PHP 7? (NEWS/UPGRADING lines, or commit)
 

« first day (1871 days earlier)      last day (3092 days later) »