3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = []; $message = 'Stack:arn:aws:cloudformation:us-west-2:717531488628:stack/magento-env-stage-mounttargets/9f7206d0-3e1e-11e6-941a-50d5ca0184f2 is in CREATE_FAILED state and can not be updated.' preg_match('/~Stack\[(.+)\] is in ([A-Z_]+) state and can not be updated./', $message, $matches); var_dump($matches);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.80.0130.05021.80
7.0.70.0230.07021.77
7.0.60.0070.05721.79
7.0.50.0100.05322.03
7.0.40.0100.05722.23
7.0.30.0030.07022.14
7.0.20.0070.06022.23
7.0.10.0070.05722.22
7.0.00.0100.05722.15
5.6.230.0100.05720.72
5.6.220.0070.05720.62
5.6.210.0070.05720.72
5.6.200.0230.04721.11
5.6.190.0070.05721.09
5.6.180.0170.05321.09
5.6.170.0100.05321.13
5.6.160.0130.05021.12
5.6.150.0130.05321.10
5.6.140.0000.06321.17
5.6.130.0100.05721.13
5.6.120.0100.05321.07
5.6.110.0070.06021.13
5.6.100.0100.05321.07
5.6.90.0030.06321.09
5.6.80.0130.05020.45
5.6.70.0070.05320.36
5.6.60.0100.05020.48
5.6.50.0100.05020.48
5.6.40.0130.06720.43
5.6.30.0130.05020.44
5.6.20.0030.06020.41
5.6.10.0100.05320.42
5.6.00.0100.05320.51
5.5.370.0130.05020.42
5.5.360.0100.05720.41
5.5.350.0000.06720.43
5.5.340.0000.06320.86
5.5.330.0030.08320.77
5.5.320.0070.05720.88
5.5.310.0070.05720.92
5.5.300.0030.06020.71
5.5.290.0130.05320.94
5.5.280.0070.06020.96
5.5.270.0100.05720.92
5.5.260.0070.06720.95
5.5.250.0030.06020.69
5.5.240.0100.05320.26
5.5.230.0130.05020.15
5.5.220.0000.06020.34
5.5.210.0130.04720.24
5.5.200.0030.06020.28
5.5.190.0130.05320.05
5.5.180.0130.05320.05
5.5.160.0100.05320.29
5.5.150.0230.04020.27
5.5.140.0070.05320.11
5.5.130.0100.05020.18
5.5.120.0130.04720.02
5.5.110.0100.05320.25
5.5.100.0070.05720.10
5.5.90.0130.05020.08
5.5.80.0130.05020.21
5.5.70.0200.04320.21
5.5.60.0100.05019.99
5.5.50.0100.05020.19
5.5.40.0070.05720.13
5.5.30.0170.04720.16
5.5.20.0130.05020.14
5.5.10.0230.04020.13
5.5.00.0070.05319.99

preferences:
126.34 ms | 1398 KiB | 7 Q