php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70051 Threaded does not really implement ArrayAccess
Submitted: 2015-07-12 11:38 UTC Modified: 2021-02-03 12:36 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: derkontrollfreak+9hy5l at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: pthreads (PECL)
PHP Version: 5.6.11 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: derkontrollfreak+9hy5l at gmail dot com
New email:
PHP Version: OS:

 

 [2015-07-12 11:38 UTC] derkontrollfreak+9hy5l at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/class.threaded
---

According to the manual, Threaded implements ArrayAccess. That is not the case.

Test script:
---------------
<?php

var_dump(new Threaded instanceof ArrayAccess);


Expected result:
----------------
bool(true)


Actual result:
--------------
bool(false)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 23:15 UTC] kalle@php.net
-Type: Documentation Problem +Type: Bug
 [2021-02-03 12:36 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-02-03 12:36 UTC] cmb@php.net
The maintainer of PECL/pthreads has ceased its developement for
good reasons[1].  Consider to use PECL/parallel[2] instead.

[1] <https://github.com/krakjoe/pthreads/issues/929>
[2] <https://pecl.php.net/package/parallel>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 10:01:28 2024 UTC