[PHP-DEV] Re: [VOTE] Deprecate mb_ereg_replace eval option

2016-02-04 Thread Rouven Weßling

> On 28 Jan 2016, at 11:02, Rouven Weßling  wrote:
> 
> voting has started on "Deprecate mb_ereg_replace eval option" 
> (https://wiki.php.net/rfc/deprecate_mb_ereg_replace_eval_option)
> 
> Voting will end on February 4th.

The RFC has been accepted 19 to 0. Thank you!

I’ll supply the patch to implant the RFC in the next couple of days.

Best regards
Rouven
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] PHP 5.6.18 is available

2016-02-04 Thread Ferenc Kovacs
Hello!

The PHP development team announces the immediate availability of PHP 5.6.18.
Several security related issues were fixed in this release. All
PHP 5.6 users are encouraged to upgrade to this version.

For source downloads of PHP 5.6.18 please visit our downloads page:
http://www.php.net/downloads.php

 Windows binaries can be found on http://windows.php.net/download/.

The list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.6.18

To verify the downloads, you can use the following information:

php-5.6.18.tar.bz2
SHA256 hash:
c3cd4a29a9562309d36e2b128407d6eaa5c7dde590d2b1a464457383e517f4ed
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsd5YAAoJEMK/C8Qzz8izqH8IAIvujyqRgV4YjWiQwAApRZpa
po8dBFnf+MDMGzsS+Rxoq10ZrwTzu5C9vytfsxh4ICILg94LMBtoHf8iqHs0xHuL
TkXCnlVQYMjzj7t1+T5g0UGWPWwNw266xSlqe51ai0qAF1PqmCxoeGz2y0NSYXzu
NstpAO9SH/OzbPGP2sTdgVUZC9527TB2kJ62LapGDYoqFbFoYh+OBmfZZazEOQxh
AqpxYQDECkw2koCDgmquCRLkF/Yfj++hMUsWzUCU7pExZZpOGmb0e3uUT50yKJ+G
BRImIJHn/kds/TGcxzuaVBT9Fl6BcN/jyNkwz6NnfgclI5XOIWhxhgkTjQ5K1f0=
=EWSF
-END PGP SIGNATURE-

php-5.6.18.tar.gz
SHA256 hash:
76da4150dc2da86b7b63b1aad3c20d1d11964796251ac0dd4d26d0a3f5045015
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsd5SAAoJEMK/C8Qzz8izyXwH/3w14IZClJP1t6GbEBP517CN
Onlc/2UrAsBFR3gWANLg49CWVV064ftO2Fz2q+OsaXbBvxPT2SWL5b2Nlwinm0bJ
b91YvjbiJ6DO/4uioVeTX0FrOATG0QidxdqLYVS/UOcHhmS6W7bV2laLLp6paWID
UvH/YeXxgbLWKqB2o0zwJhS0BDVI/+5hks4p9Y4rGlFfa9BPjH/ClsPpjXsdy1Tx
jJiG8dxMBKHvp5k/HwzyfZG5mlX11uSoClrTcneDtrsJ0mPUevPhAl1Ri2e/miDt
hP4IM08SHqjllDHhCZT2L1AiJbNO2GsInizJgLBkKxHW6if7wyqZ22K+a+3TSv4=
=kJrz
-END PGP SIGNATURE-

php-5.6.18.tar.xz
SHA256 hash:
54dd9106c3469bc7028644d72ac140af00655420bbaaf4a742a64e9ed02ec1b0
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsd5eAAoJEMK/C8Qzz8izhA4H/17QqJH7LpZ1goSuV1EGMpoq
6zpew5YWLKD7IsN+4zcGZSp6RZ/wrMJq+GqEb4zm7mEzuDp18cvPqBIayo+/P+BJ
REBQUSTa66G++17ceRG4FBIChmxDpwM4+8776KIdXkDYL9zihAsK/AcB19oP4YOC
nV32nvPzAsSiO7PMAEuYM+f6x1UzFR+UsWU8pnKN7HoY3jUEJ0RuJEkBjLo+7jzy
nbgMcdATLSak4zxml38ViL6iIqu+ADvzfsKfZF7/a/akjJ5rO/JZybWz1PmRkilC
iYdb+Hh2a3j3/9K1Q0r1ETalG+Xqg/c+KEIKanAKTAmO8gTwTJItpwLJ3VY21BY=
=Ue5M
-END PGP SIGNATURE-

Julien Pauli & Ferenc Kovacs


[PHP-DEV] PHP 5.5.32 is available

2016-02-04 Thread Julien Pauli
Hi,

The PHP development team announces the immediate availability of PHP 5.5.32.
This is a security release. Several security bugs were fixed in this
release. All PHP 5.5 users are encouraged to upgrade to this version.

For source downloads of PHP 5.5.32 please visit our downloads page:
http://www.php.net/downloads.php

 Windows binaries can be found on http://windows.php.net/download/

The list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-5.php#5.5.32


Below is the verification information for the downloads:

php-5.5.32.tar.bz2
SHA256 hash:
b0f2c108db8e05db9f6366aaba9a754fd0ee31f3f86ee889561b608dfd6e92ee
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAABAgAGBQJWsxapAAoJEP6FfZqQ2Q7BXbEH/AyRudsLmYaRH50YPv33duQ3
fHuR6Fn6+lQPkYXvji+SC/rhz2MEFG2Ms+nOaGwCwAcNaO12o5NyvHHrXh+qsl95
JqqE43rxzZZR8+kQmcVb5FassScQLAckwYWMjFPTw8X77+Gdj9vdQr3ScuTa7MRO
ccH4Ds1kKi/i8F4S5O3dDruV1PE9/F+/PTto3fP+BXhdefC0uGABiENbqquhoMt0
qwWFRoXuC7SyV/QuPcT/qLaPIIW25zfo2GxJNok8a7dBw0ginDooklTakSR+Cu/k
7mhyW4unBTSNFKZg2kWDNDYcEKoDiIQoRmvEF2CCi5dukSUnXRWe4zURHge5DnQ=
=M7My
-END PGP SIGNATURE-


php-5.5.32.tar.gz
SHA256 hash:
419aa62a68a640192799928a29e5cd4cd5b965458223bea2b3209a68c3e95989
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAABAgAGBQJWsxakAAoJEP6FfZqQ2Q7BNb4H/jg1H9AKdosOfVdZF8wbWRWs
MO2jYvsNzATL6MEbk59MXM89r+KK8SeH7YBydeX/NqoLfj/6MM1g6HVcezQVbuB9
OI83ovMT2luBlwrE/cZjz8/9Vyr8jSdmo9wZYRr3fXHE/kTnLdlLuK59+PCS6UpP
PsgMuC+o+JkULaw2MOWeKHlwP+ns2YJKS/QEe7oK9lVa+eZnX1sATDg2E7rDLicn
Ku1anufO6Dt3rH89qeblqhthZ8BF/lc040ykokpJfkVkSRKYkNTybMVYx1bULb+b
WhbDJrFjGGg7eFUd4gEeumvZtA9VB4NLoXIKvhNZZMVqCexqaETbOePlfWU0Zmw=
=/LIr
-END PGP SIGNATURE-


php-5.5.32.tar.xz
SHA256 hash:
02f569dcf5bd57dd5e390ddcab8609e3957a698e2db0b793cf2c11a7e33743c9
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAABAgAGBQJWsxaeAAoJEP6FfZqQ2Q7B6i4H/23XNXNZLiIhghriwcLqt1I2
ESYzPXtS8L185YaXLyKo5+PzWnPb6OpqP91uFmqu9Kpbqcuh35YwqtozaeQcAmGa
5PTvWR4QYmuqRaIuEnNn/k5wDL/H6IlGCfUc9g108fF5+ubWQEyGxwTmcAgovdwT
FoKoLzJuRewAJ/TFfy7vJcijM1UTEiqo2UOnkoMr309WUoiB/WGjIOmbgl1szTti
oR2UEd3+pAcVQJ47C2NBnUhwDYpowXX7a4wuX/kWBMeiV3DS0cV+uhlH//xF3btA
OJyxJQWnnJd/7rrPS8Yx4W22dFe7Wd1L+Ui9NLsw5LEVqiL7GSKScCjuj096c88=
=bKEK
-END PGP SIGNATURE-


Regards,
Julien Pauli and David Soria Parra

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] PHP 7.0.3 is available

2016-02-04 Thread Anatol Belski
Hi,

The PHP development team announces the immediate availability of PHP 7.0.3.
This is a security release. Several security bugs were fixed in this
release. All PHP 7.0 users are encouraged to upgrade to this version.

For source downloads of PHP 7.0.3 please visit our downloads page:
http://www.php.net/downloads.php

 Windows binaries can be found on http://windows.php.net/download/

The list of changes is recorded in the ChangeLog:
http://www.php.net/ChangeLog-7.php#7.0.3


Below is the verification information for the downloads:

php-7.0.3.tar.bz2
SHA256 hash:
826823d754f09c779222a99becf9c53a4dc719dba2d777aca7807c6ca68e6fc6
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsNqYAAoJELyqMOqcDVdjO4kIAJvim3BjelyqdmfcEXUc2J7E
8SkB+n39H2HxFXX5/FA+gRAr+JM2AHQVHjsEYbjABSQbXQv5RP4iLKMdz4Pw7cRw
RqDctrrHl9cqrU4kzOZ3EWg80x4vfpQG6f+feK/ML4NonqSCjMx0ClND9qyY8u/A
yCBXIM0B1aDUXn8ts5TITcgyZ3xGP7cQvJRywKm9cMZkP9XRWJxD+Yzbs4AD8TgZ
KkRkKW0b/rSmV2N83uRGdBZKIqn1me798GdCFSCfQaAoEdNVfCpiztEmDEsSN5vq
AATgfnkQn3Ah2DPYGn3WHojuHeP0NaKJPhZaxOOurKyL7eSqylnkmr87RFasoRY=
=qiy1
-END PGP SIGNATURE-


php-7.0.3.tar.gz
SHA256 hash:
5521df8db153aba35c90cf1a1829106b6bbdac32425216d440f9cc29f00a7c08
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsNqbAAoJELyqMOqcDVdjrOQH/05335U5fvRaeRDGYilXClA8
TbWRmqUK+GlYJkhK1l9wpiYWF53Oj8ltKnV+TapA5nm7atOs6xcE5G3dI6a6XtuT
rAVotJPf52CLpQTyufI75nvULHTiRwOUkPaPX5j3tCjNhWr+WnU1nrlVZr9abkxg
n/I0IHo272xyZyvCJqXIoaY6ycbcIKfvFuPnXuYuX4vGzbVKsoGsiJRu/Z7xSm+q
+VNbziVXMvFQejpthEa43sRpgZ4jf0G9nTrdZEByVTVeBI1I+gVwWr+rGmY/YLv8
SdEpRdKjZvFQAVmdrpSfc/QBoNyPAOqr2kYEHNwNGRoQKi8RTtHh6+o14NwSuJc=
=xGbF
-END PGP SIGNATURE-


php-7.0.3.tar.xz
SHA256 hash:
3af2b62617a0e46214500fc3e7f4a421067224913070844d3665d6cc925a1cca
PGP signature:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAABAgAGBQJWsNqdAAoJELyqMOqcDVdjefQIAJMPEy97yTL0KAGbijFgeznv
ohD6ro3L31IaRts26J8/VEmRMuJOeFOvC3EIOmCcySqDDPhz4Ghyudb5NMW2D5nh
4g979mVQ47bN2k37YbAnHT2dKa6XiVSyhUptjtGuDL1Hhi7ibRc1R5MpqBdIU+Di
SegishjhNtyk2+7UNPra8cmq6KUE/1rTrMwjU2a8KsxXRGV+zEbgmCn3ksL1bdLe
hsv0ZYXz6oapicCmpyfpLQJ9mvBlGH+Js0LC/n/2w3dx8MyN33itjMEKCcPs+B0W
POY/jrBv3lv6HI7yAKLv3lnXF71bqOMQ12j4nEvu8vtO28hAXIc8hH/0yyJPexc=
=KXT9
-END PGP SIGNATURE-


Regards,
Anatol Belski and Ferenc Kovacs


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] BAD Benchmark Results for PHP Master 2016-02-04

2016-02-04 Thread lp_benchmark_robot
Results for project PHP master, build date 2016-02-04 06:29:18+02:00
commit: fd6f32f
previous commit:6832725
revision date:  2016-02-03 16:23:37+00:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, 
stepping 2, LLC 45 MB
mem:128 GB
os: CentOS 7.1
kernel: Linux 3.10.0-229.4.2.el7.x86_64

Baseline results were generated using release php-7.0.0, with hash 60fffd2 from
2015-12-01 04:16:47+00:00

---
benchmark   relative   change since   change since  
current rev run
std_dev*   last run   baseline  
   with PGO
---
:-|   Wordpress 4.2.2 cgi -T1  0.10% -0.05%  0.23%  
  7.15%
:-|   Drupal 7.36 cgi -T1  0.17%  0.31% -0.19%  
  4.60%
:-|   MediaWiki 1.23.9 cgi -T5000  0.17%  0.09%  1.18%  
  3.56%
:-|   bench.php cgi -T100  0.04% -0.04%  1.58%  
  4.79%
:-(  micro_bench.php cgi -T10  0.01% -1.96% -1.08%  
  5.67%
:-|  mandelbrot.php cgi -T100  0.04% -0.99%-12.03%  
  0.81%
---
* Relative Standard Deviation (Standard Deviation/Average)

If this is not displayed properly please visit our results page here: 
http://languagesperformance.intel.com/bad-benchmark-results-for-php-master-2016-02-04/

Note: Benchmark results for Wordpress, Drupal, MediaWiki are measured in
fetches/second while all others are measured in seconds.
More details on measurements methodology at: 
https://01.org/lp/documentation/php-environment-setup.

Subject Label Legend:
Attributes are determined based on the performance evolution of the workloads
compared to the previous measurement iteration.
NEUTRAL: performance did not change by more than 1% for any workload
GOOD: performance improved by more than 1% for at least one workload and there
is no regression greater than 1%
BAD: performance dropped by more than 1% for at least one workload and there is
no improvement greater than 1%
UGLY: performance improved by more than 1% for at least one workload and also
dropped by more than 1% for at least one workload


Our lab does a nightly source pull and build of the PHP project and measures
performance changes against the previous stable version and the previous nightly
measurement. This is provided as a service to the community so that quality
issues with current hardware can be identified quickly.

Intel technologies' features and benefits depend on system configuration and may
require enabled hardware, software or service activation. Performance varies
depending on system configuration.


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] [RFC] Add PHP_ENGINE Constant

2016-02-04 Thread Rowan Collins

Fred Emmott wrote on 03/02/2016 22:14:

On Feb 3, 2016, at 2:00 PM, Davey Shafik  wrote:

On Wednesday, February 3, 2016, Sara Golemon mailto:poll...@php.net>> wrote:

Unfortunately Sara, the types of things you generally have to work around
are minor things, like differences in DOM, or the inability to json_encode
DateTimeImmuteable


It seems like the main thing this RFC would change is that you could easily do “if 
($engine !== ‘php’)” - but for almost all the examples I can think of, and yours, 
what’s actually needed is if "($engine === 
‘specific_engine_that_needs_a_workaround’)”, so I don’t see a benefit over using 
HHVM_VERSION or similar.

The one exception I can think of is if someone’s reimplementing phpinfo() or 
similar.


Maybe what's actually needed is not something in the PHP spec itself, 
but a PHP equivalent of modernizr (https://modernizr.com/) - a library 
with a set of feature detections which bypass the whole question of 
"real PHP" or needing to know the exact quirks of every implementation. 
It would also be much easier to maintain and extend if it existed 
outside of any implementation, rather than needing every implementation 
to keep up with a growing list of requirements [first feature to detect: 
is the feature detection API present? ;)]


It could perhaps take the form of a set of unit tests which you run as 
part of a build process that then writes out a profile of the current 
environment. This would allow you to detect even things which cause 
fatal errors on some implementations, by triggering the error in a 
sub-process, and would be more efficient than probing them at runtime.


Regards,
--
Rowan Collins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php