Skip to content

Instantly share code, notes, and snippets.

Avatar

Pierrick Charron adoy

  • AdoY inc.
  • Montréal, QC, CA
  • Twitter @adoyy
View GitHub Profile
View php-8.2.1.manifest
php-8.2.1.tar.bz2
SHA256 hash: 75d6f8f365993ec0d1d9c6281d4557e6feec5a26194a468b8b01459d177efb29
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmO0fXIRHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adwQQhAAiqj59V2MQwvCNeFd216zMCLLbDIp9ruh
9wOmsgxZT1OXCUl3FPCpv9zkLsiQuoOlCIS5SCyHUnDiSh/XK0l7pzsOVIjW2q83
pkmvgapW3zMGT5WpMout83QCwmY0/tZ+8uoBtm2YNbVZkzce1s48if2ijAVnM0zu
T/ThUqKe8H+4p84+ry/1DAYrJw+iUuadaV2JRXkMiyxVXsyysSsK5brjKnl6Kw55
View php-8.2.1RC1.manifest
php-8.2.1RC1.tar.bz2
SHA256 hash: 2bd8d594fdaad246c9269d6e215850886f7abc44b00b8a20f28524ba61cf3b71
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmOZGg0RHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adw22Q//QsjxUSMeCfENhbpQJcD8MhfAoS4eXmaG
A+P0b/RDi22n6uo6Gi/AVC+80vTHiZcahM/WqyZvSTFjQ3mgssD2lMQx/Ga25NlU
5+fgMWAluSqf8F279qlknl/46dvQGx2+smVsJtjNbvJjHG1VphIA8Zrto4hgvoSH
AqMB/YyX9z5fYDYzJBIwvzokVqM7B7b/FIT9lDjphEAiK/ZOMVLEuzey+4EQM8q7
View php-8.2.0RC7.manifest
php-8.2.0RC7.tar.bz2
SHA256 hash: dedd83919b6483399ef5896ff2f08f1f0e8e599ab4ff6d4c4ad1c6c711c8fdbd
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmN9ED8RHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adwTuw//bazD4MBFKojv4OGcWw6nSA3sNqsYT62R
K9O11+c2DgGsEXXpc6eO8/x/3v+2Z12RhI3GbKPG/CcQlCK0FW65uEQsbR5uLBx9
AhYHcXOZ5s/YJn5e41sIdvmazsoWWgSO8hZcQ8OQ2XcLnOD3t76EYit8WzEY+HCE
K8SQBCXgKNjKlDF5N+LFFy63dGiGofWF2E1NLvn9U1MZweyBypoydfLLCUJsPncm
View php-8.2.0RC5.manifest
php-8.2.0RC5.tar.bz2
SHA256 hash: 0c20a018520531f8fc2fef47131a280e26c2c0575b1b724b5d6afc61ebb7695c
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmNYIeERHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adxIchAAopdMvje8Oo7ImWIDdTFwh2oxqnshqT7d
F38iu0KXpAGJYri2Gkr9sCJzmicR9DVYFsl6irHQj2SxIu+UupKd9Q2OM75P9t+8
ZsfIKS+n0Z23eOe0GYRWgKror8ll61rhrS0tliQjvYgXAfNrOydN25zcCUJG/P1r
nsYBCPs378KgHzMgAWQobh7A+725Fupsdd1otfAtIBfmsA8ui/HhXRzTlCVNRnsU
View php-8.2.0RC3.manifest
php-8.2.0RC3.tar.bz2
SHA256 hash: 3563c27710ce82136a5326ef915b1a006c2d3c7d7a02b424221ed38a01a76199
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmMzcNQRHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adzTGhAAkEvt+DRZiVzmDDfyXHoYWksqApHwC1N0
DcoPee4OsYFksZ56uJiVScqSANFHYL0MV/qCe9/Y30Kb8P+pPS22pJ4ffZNgynD0
7oRC0Wzez3M1HRgjo/kjtU2BGKnNqWOxMDT8sO+fXE69Iis/BlDEnouNBgEJxvH5
3lCdRVbY/v7IkwkTMwMPFC6+5X/8bxUSOaEvFWKLs5k61Wjzk9NIRL8fbtmtXFPM
View php-8.2.0RC1.manifest
php-8.2.0RC1.tar.bz2
SHA256 hash: baa8cf5ecfc97940ddb9a09734d1eb69242e7056351517ab246a78f0ed0b0bdf
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmMONR8RHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0ady41BAAhp8gJnNbd6ais3M3GElEqMZurA1SWpXY
OXa0VOnZFesS+v1VeIvVdJrE91DYeNtX+Kz+Pb7bCFI14huvQ4aWYfyigGxPewx4
uJoCI4qVVUZ+LmM7jH7Ieh5+ftm9SpOTNSsOJf+1CaaG/y8Ig56VCYMPPDOCHqoU
ie0sA57VXC34ePR79XTkz7h682ZSZSalM9rpzXrdDIsxGb+9PMRhiI95imM09QGF
View php-8.2.0beta3.manifest
php-8.2.0beta3.tar.bz2
SHA256 hash: 2c09e6a3122e7e8ff9ccde7fce3199b5a1af72bc4e3dd603f2ee6f794e0f2da0
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmL7vB4RHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adyyDhAAjjqh8D0vHsRcHWB1/7D4RDzeOFjr6L+I
uJFoJ5F28zMEZQwgYCFGBdX7DZQHi7Ya6jNEdwN1xCytM06iQ16s3N7v8vuMiPxa
Axjz4NKYRSh7sSBhMfQCjEVR35ZjxeG3DOAC2teGMGnn6KkP06BZcjQaDmKyChuj
P1gV3wv5F5NFUfMEWhoQ6Aa01hu7L8FLoEhXIfpg2Hu0/1g7xLuoaI07Qq0GCHlK
View php-8.2.0beta1.manifest
php-8.2.0beta1.tar.bz2
SHA256 hash: ab7292701c12393892cfc7c2d93f8d2701946d073c87a1e05619da3e04a009a7
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmLW3BQRHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adxBvw/8DxXzR/AUqkEtIVPwoOXmZ59x6DONPxZ2
7pMx94ZU0FJFvUGbOzlFIQc2gug0RhCEpxRbIFg7lj3gkXZAL6CRFS86jF4N/nR7
5Pt6rtx2H2uyX9a9DhCa/7ZKo0fuTz2ZDemwPbRom8TkRcMSysW0lmHplKQ3DBOM
qk6jb/chFiV0VNYfKqSJpftvWFMMUwqRRc8Z2rmyxoRc2gh6ak+aK0TVQR4tMEhP
View php-8.2.0alpha2.manifest
php-8.2.0alpha2.tar.bz2
SHA256 hash: b611eeff65d0b3e9182de230163e2345ecfd6fabb4e1e009dce099ba63a3f221
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmKx43URHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adx9RA//RArQCXUgZYDz0eRCK6E1cfVFRtwU6dLh
OU/j5lNbpAuMzDTcPzNd3akziu5dTrHenVE3QWHFNQruuqvmPwRSRxCwB/QymbXv
f4aembKwwcn/g9Aos+bSk1mPncIMv21eFOBWCwFFB3/hMJBl3eltAOzw2w5K17WV
XJwc7NwcwBwg7UW6qdsj4WXbIqzw+4Uef3jAciKuUOi/5v+z1YKqtVXF017qq9nr
View IteratorBug
diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c
index c6181d9..bb86e76 100644
--- a/ext/spl/spl_iterators.c
+++ b/ext/spl/spl_iterators.c
@@ -1682,7 +1682,7 @@ static inline void spl_dual_it_rewind(spl_dual_it_object *intern TSRMLS_DC)
{
spl_dual_it_free(intern TSRMLS_CC);
intern->current.pos = 0;
- if (intern->inner.iterator->funcs->rewind) {
+ if (intern->inner.iterator && intern->inner.iterator->funcs->rewind) {