@Derick problem is that it's actually too hard to fix, because the behavior sometimes appears to be arbitrary; or is there an explanation for 3v4l.org/nODug ?
Is there a simple way to measure the memory in bytes of a HashTable?
I don't recall seeing any helper functions for anything like that.
Trying to measure how much memory I'd save by serializing/compacting certain ones when I'm pretty sure I'm done with them instead of waiting until I know I'm done with them.
checking whether the C compiler works... no
configure: error: in `/home/kelunik/.php-build/release':
configure: error: C compiler cannot create executables
See `config.log' for more details
the creativity people develop to propose alternative syntaxes to <<>>
people on the mailing list, get into 20 mails of back and forth before i shut it up and then they ask if i saw that single question in the chat... no i didn't
1) ProxyManagerTest\Functional\MultipleProxyGenerationTest::testCanGenerateMultipleDifferentProxiesForSameClass with data set #8 (ProxyManagerTestAsset\ClassWithMixedReferenceableTypedReadOnlyProperties Object (...)) Error: Cannot unset final property ProxyManagerGeneratedProxy\__PM__\ProxyManagerTestAsset\ClassWithMixedReferenceableTypedReadOnlyProperties\Generated82308f023283f22e730fc1d24360fa5f::$publicBoolProperty
I saw that $publicBoolProperty has a true default value, so if I got it right what the test does then the error actually makes sense - because the property is not uninitialized anymore.
that's why it can't be unset
or something else should happen? O_o
(Confirmed. I removed the default value and now the exception is for $publicNullableBoolProperty)
@beberlei I see lots of bikeshedding over the syntax, but so far the discussion is overwhelmingly in favor of attributes in general. So that's already much better response than a few years ago.
I am in team "blurgh << >>" but part of that is because I think they could get confused with eventual generics, and part of it is because I think it just feels too visually noisy... but i'm 100% in favour of the feature in general terms
A question I would pose is, what will a comment above an annotation refer to @beberlei?
Yup. Would comments be forced to come after annotations, or could they be before and would just pass through to the next function / member, or would a comment be bound to the specific annotation
Hey guys, quick question for those who are Laravel Devs. I have a one to many relation. The One is a Users Table . and the Many have a Id, user_id, value_key, value columns
I'm able to retrieve the relation with no issues
but i would like to make it smarter. Where i can go as $users->relation->value_key , so it returns the value column
So pretty much assign the value keys as properties for my relation
atm, my relation returns multiple rows and i'll have to iterate through every single one to see if a specific value_key exists. I think this will not be efficient if i have to this on my index pagination