« first day (3894 days earlier)      last day (1051 days later) » 
05:00 - 19:0019:00 - 23:00

7:00 PM
@kooldev Yep, that's included there.
 
Nice!
 
@Danack Don't know because I have the same for CSV: gitlab.com/Girgias/csv-php-extension/-/blob/master/package.xml
 
!zend_fiber_switch_blocking
 
@Girgias for the record, I think the pecl website may be cursed:
May 9 '19 at 17:18, by Danack
It's almost as impressive as the thing I had the other day when I opened a new incognito chrome window and was already logged in to the pecl website in it.
Or I am.
 
7:04 PM
I always get logged out from PECL...
Even if I ask for it to keep me logged in
So it might be cursed
But maybe that's because I use Firefox
 
@JoeWatkins Oops
 
@Trowski I like it. It drops the ugly macro and field names cannot clash with zend_fiber. I thought about doing just that in my initial refactoring PR but decided against it to avoid additional noise.
 
Hi all, do you know of any good coding projects/challenges in PHP? For Beginners / Intermediates.
 
@JoeWatkins Fixed :)
 
@LetsPlayNebulous unfortunately, not really. If you do find any please let me know, as I'd like to be able to point people to some.
 
7:17 PM
@Trowski lgtm
 
@kooldev I definitely prefer the separation, it's more obvious that zend_fiber_context is a part of zend_fiber, but not the same thing.
 
> if (!$admin && !in_array($this->authUser->handle, $new_users)) {
vs
foreach ($info->getMaintainers() as $user) {
                $users[strtolower($user['handle'])] = [
                    'role'   => $user['role'],
                    'active' => !isset($user['active']) || $user['active'] == 'yes',
                ];
            }
and the code that prints the profile link is:
'<a class="menuWhite" href="/account-edit.php?handle=' . $auth_user->handle . '">Profile</a>
and that shows:
<a class="menuWhite" href="/account-edit.php?handle=Danack">Profile
Who can I ask to update my 'handle' to be lower case?
 
@CraigFrancis To save yourself some heartache, don't attempt to get is_literal into 8.1. There are too many concerns and not enough time left before freeze.
 
@cmb Do you have DB access on the Pecl box? I think my username needs changing from 'Danack' to 'danack', because of that bug ^^
Oct 18 '13 at 18:24, by webarto
@Danack One does not simply find a bug in 20yo software.
@webarto Honestly, it might be my core skill.
 
7:34 PM
@LetsPlayNebulous I've been reading through Head First Design Patterns and rewriting the examples in PHP. The book uses Java for its examples.
2
I've found it an enjoyable intermediate exercise to challenge my understanding of PHP and learning design patterns.
 
I came from java oop background in php I notice something which I can not write access modifier before class keyword, and I must write that in class variables
class phpfanClass
{
public $language = "Hindi";
( class properties)
in Java I am can write access modifier before class keyword
as well as class properties
 
Java is not PHP, and works differently than PHP
 
good
 
It's not clear if you're asking a question or venting frustrations or stating observations
 
I am asking only
 
7:43 PM
@cmb er, nvm. It turns out that the pecl website allows me to login, either as "Danack" or "danack", and that bug only occurs if I choose the wrong case.
/though this raises further questions.
 
@PHPFan then it's unclear what your question is... I'm not that familiar with Java, so I don't know what an "access modifier before class keyword" is
PHP doesn't have official syntax for accessors like getters/setters. At least what I can recall from C#, I dunno if Java has something like that.
 
In java I can write my class as public class,propted class ,private class or just class className
 
PHP also doesn't have the notion of a "package", so it wouldn't make 100% sense
 
@Sare Oh I see
So no need to class access modifier
 
7:48 PM
Right
Well, you can have final or abstract classes, which are modifiers, but no visibility modifiers
 
alright
 
8:05 PM
@Tiffany thanks!
 
thanks @Tiffany
thanks @Sara
 
8:19 PM
@JoeWatkins Hmm, maybe those functions didn't need to be hooks. An extension can use zend_fiber_switch_blocked before switching to check if switching is blocked.
 
@cmb awesome! I will take a look! thank you! :-D
 
I guess if we want to allow an extension to override and allow switching, then they need to be hooks, but do we want that?
 
cmb
8:44 PM
@Crell well, then maybe add it to the parameter description?
 
That could get rather long, no?
I'm debating making it a bulleted list instead.
 
cmb
@Danack isn't that lovely? ;)
@Crell IMO no problem. You can also make it <simplelist><member>.
 
I'll try that inside the parameter, but that feels like it would get rather ugly quickly.
 
cmb
Then use a notes section, but this needs to go below the examples.
 
And make each their own note? Or one big note?
 
cmb
9:41 PM
IMO it's fine as is (except for the validation issue).
 
10:00 PM
@Danack yup!
 
05:00 - 19:0019:00 - 23:00

« first day (3894 days earlier)      last day (1051 days later) »