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)
8.3.70.0030.01216.50
8.3.60.0070.00716.63
8.3.50.0140.00522.03
8.3.40.0120.00318.82
8.3.30.0040.01118.84
8.3.20.0080.00020.21
8.3.10.0100.00323.66
8.3.00.0030.00719.50
8.2.190.0090.01218.29
8.2.180.0140.00716.50
8.2.170.0120.00922.96
8.2.160.0150.00019.27
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00022.39
8.2.120.0030.00526.35
8.2.110.0100.00021.12
8.2.100.0040.00717.97
8.2.90.0000.00819.17
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0060.00317.80
8.2.50.0080.00018.10
8.2.40.0000.00920.34
8.2.30.0000.00819.21
8.2.20.0040.00417.84
8.2.10.0000.00817.93
8.2.00.0050.00218.13
8.1.280.0150.00625.92
8.1.270.0030.00623.82
8.1.260.0050.00328.09
8.1.250.0000.00728.09
8.1.240.0060.00324.02
8.1.230.0030.00717.71
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.38
8.1.190.0000.00817.35
8.1.180.0070.00318.10
8.1.170.0060.00318.69
8.1.160.0000.00822.68
8.1.150.0000.00718.81
8.1.140.0040.00419.50
8.1.130.0000.00717.65
8.1.120.0000.00817.55
8.1.110.0000.00717.47
8.1.100.0040.00417.45
8.1.90.0050.00317.56
8.1.80.0040.00417.54
8.1.70.0030.00317.46
8.1.60.0000.00817.59
8.1.50.0080.00017.55
8.1.40.0040.00417.50
8.1.30.0000.00817.67
8.1.20.0080.00017.68
8.1.10.0030.00517.71
8.1.00.0080.00017.58
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0070.00018.36
8.0.270.0030.00317.21
8.0.260.0000.00717.22
8.0.250.0030.00317.02
8.0.240.0040.00417.08
8.0.230.0040.00417.05
8.0.220.0030.00316.94
8.0.210.0000.00716.97
8.0.200.0030.00317.06
8.0.190.0000.00717.08
8.0.180.0070.00017.02
8.0.170.0080.00016.85
8.0.160.0000.00716.97
8.0.150.0030.00516.85
8.0.140.0030.00316.88
8.0.130.0000.00613.40
8.0.120.0000.00816.97
8.0.110.0020.00516.96
8.0.100.0070.00016.76
8.0.90.0050.00216.87
8.0.80.0060.01016.94
8.0.70.0030.00516.83
8.0.60.0040.00417.02
8.0.50.0000.00716.84
8.0.30.0060.01116.92
8.0.20.0100.00917.40
8.0.10.0040.00417.09
8.0.00.0080.01117.01
7.4.330.0000.00515.08
7.4.320.0000.00616.75
7.4.300.0000.00616.72
7.4.290.0100.00016.66
7.4.280.0030.00616.71
7.4.270.0040.00416.68
7.4.260.0040.00416.63
7.4.250.0070.00016.76
7.4.240.0050.00216.75
7.4.230.0000.00716.66
7.4.220.0150.00916.62
7.4.210.0100.00716.68
7.4.200.0040.00416.75
7.4.160.0030.01316.50
7.4.150.0070.01117.40
7.4.140.0110.00617.86
7.4.130.0110.01116.82
7.4.120.0110.00516.61
7.4.110.0090.01416.56
7.4.100.0100.00716.58
7.4.90.0170.00716.58
7.4.80.0070.01019.39
7.4.70.0140.00716.46
7.4.60.0070.01016.63
7.4.50.0030.00716.43
7.4.40.0110.00616.59
7.4.30.0090.01516.59
7.4.10.0100.01016.27
7.4.00.0100.00715.71
7.3.330.0040.00313.19
7.3.320.0030.00313.17
7.3.310.0030.00316.28
7.3.300.0070.00016.23
7.3.290.0030.01316.28
7.3.280.0080.00916.30
7.3.270.0100.00717.40
7.3.260.0100.00716.31
7.3.250.0120.00716.30
7.3.240.0080.00916.34
7.3.230.0090.01116.60
7.3.210.0110.01116.30
7.3.200.0070.01016.62
7.3.190.0100.01016.76
7.3.180.0160.00016.35
7.3.170.0110.00716.45
7.3.160.0140.00416.54
7.3.130.0030.01216.36
7.3.120.0070.00716.30
7.3.110.0100.00316.43
7.3.100.0080.00416.27
7.3.90.0100.00316.52
7.3.80.0030.01016.45
7.3.70.0070.01116.47
7.3.60.0030.01416.21
7.3.50.0000.01316.46
7.3.40.0000.01216.32
7.3.30.0040.01116.16
7.3.20.0130.00018.08
7.3.10.0070.00617.53
7.3.00.0050.01117.34
7.2.330.0030.01416.56
7.2.320.0060.01216.67
7.2.310.0070.01616.48
7.2.300.0100.01416.56
7.2.290.0000.01716.57
7.2.260.0000.01716.35
7.2.250.0070.01416.56
7.2.240.0030.01016.56
7.2.230.0030.01716.50
7.2.220.0030.00916.61
7.2.210.0000.01516.58
7.2.200.0100.00616.46
7.2.190.0080.00616.50
7.2.180.0070.00716.42
7.2.170.0040.01116.58
7.2.160.0030.01016.46
7.2.150.0030.00918.46
7.2.140.0090.00618.08
7.2.130.0060.00817.64
7.2.120.0060.00817.67
7.2.110.0030.00917.60
7.2.100.0020.01217.49
7.2.90.0020.01317.57
7.2.80.0030.01217.64
7.2.70.0040.01017.67
7.2.60.0140.00517.37
7.2.50.0060.00917.36
7.2.40.0040.00917.71
7.2.30.0040.01117.61
7.2.20.0060.00717.63
7.2.10.0070.00817.59
7.2.00.0060.00818.28
7.1.330.0000.01517.45
7.1.320.0000.01317.57
7.1.310.0040.00817.46
7.1.300.0100.00717.50
7.1.290.0030.00717.41
7.1.280.0000.01117.30
7.1.270.0090.00317.45
7.1.260.0030.01017.21
7.1.250.0100.00316.58
7.1.240.0080.00617.38
7.1.230.0080.00417.44
7.1.220.0090.00317.40
7.1.210.0060.00617.46
7.1.200.0060.00816.57
7.1.190.0090.00317.33
7.1.180.0030.01217.16
7.1.170.0100.00317.35
7.1.160.0060.00317.53
7.1.150.0000.01517.34
7.1.140.0060.00617.54
7.1.130.0090.00017.28
7.1.120.0090.00317.45
7.1.110.0050.00517.54
7.1.100.0090.00317.52
7.1.90.0040.00817.34
7.1.80.0070.01017.45
7.1.70.0050.00517.33
7.1.60.0120.00018.70
7.1.50.0120.00817.27
7.1.40.0080.00417.46
7.1.30.0000.01117.32
7.1.20.0070.00717.61
7.1.10.0030.00617.54
7.1.00.0030.04319.86
7.0.330.0070.00717.09
7.0.320.0060.00917.27
7.0.310.0030.00817.19
7.0.300.0060.00916.93
7.0.290.0030.00617.13
7.0.280.0030.01017.22
7.0.270.0030.00617.12
7.0.260.0060.00317.10
7.0.250.0040.00417.03
7.0.240.0040.00816.91
7.0.230.0070.00417.28
7.0.220.0060.00616.91
7.0.210.0030.00717.04
7.0.200.0000.01017.01
7.0.190.0050.00516.89
7.0.180.0070.00717.12
7.0.170.0040.00817.37
7.0.160.0030.01317.05
7.0.150.0000.01216.93
7.0.140.0000.01116.96
7.0.130.0090.00016.98
7.0.120.0030.00617.01
7.0.110.0030.00617.15
7.0.100.0030.01117.14
7.0.90.0090.00317.25
7.0.80.0080.02819.36
7.0.70.0050.03619.47
7.0.60.0100.02719.43
7.0.50.0030.03719.63
7.0.40.0080.03018.56
7.0.30.0050.03318.54
7.0.20.0050.03718.56
7.0.10.0090.03018.46
7.0.00.0110.03018.50
5.6.400.0050.00815.93
5.6.390.0120.00615.72
5.6.380.0040.01115.99
5.6.370.0080.00816.08
5.6.360.0000.01116.08
5.6.350.0030.01015.75
5.6.340.0030.00616.04
5.6.330.0040.00815.86
5.6.320.0070.00715.77
5.6.310.0000.01116.11
5.6.300.0100.00315.97
5.6.290.0140.00015.92
5.6.280.0080.03718.63
5.6.270.0030.00615.56
5.6.260.0060.00615.85
5.6.250.0030.01315.93
5.6.240.0030.01215.91
5.6.230.0100.03318.13
5.6.220.0090.03218.08
5.6.210.0090.02918.17
5.6.200.0040.03518.36
5.6.190.0050.03418.37
5.6.180.0050.03118.52
5.6.170.0110.02718.46
5.6.160.0050.03218.42
5.6.150.0050.03218.30
5.6.140.0080.03018.43
5.6.130.0080.03018.61
5.6.120.0070.03418.49
5.6.110.0070.03518.46
5.6.100.0050.03118.41
5.6.90.0080.03218.56
5.6.80.0080.03017.99
5.6.70.0050.03217.97
5.6.60.0050.03218.14
5.6.50.0020.03418.15
5.6.40.0070.03218.06
5.6.30.0050.03118.15
5.6.20.0050.03317.99
5.6.10.0050.03018.24
5.6.00.0030.03517.83
5.5.380.0070.00415.79
5.5.370.0080.03018.20
5.5.360.0110.03518.03
5.5.350.0050.03518.19
5.5.340.0030.03518.40
5.5.330.0100.02718.33
5.5.320.0080.02818.34
5.5.310.0070.03318.40
5.5.300.0070.03218.34
5.5.290.0050.03518.29
5.5.280.0050.03618.28
5.5.270.0070.03318.32
5.5.260.0100.03018.36
5.5.250.0070.04218.18
5.5.240.0080.03017.96
5.5.230.0090.03018.05
5.5.220.0040.03317.96
5.5.210.0070.02918.03
5.5.200.0130.02317.95
5.5.190.0100.02817.98
5.5.180.0080.03217.88
5.5.170.0000.01415.16
5.5.160.0030.03218.00
5.5.150.0070.02717.89
5.5.140.0030.03117.87
5.5.130.0080.02917.92
5.5.120.0120.02517.95
5.5.110.0130.02317.96
5.5.100.0070.03217.97
5.5.90.0080.02717.91
5.5.80.0100.02517.97
5.5.70.0080.03017.89
5.5.60.0030.03417.89
5.5.50.0030.03517.94
5.5.40.0030.03217.87
5.5.30.0060.03017.76
5.5.20.0080.02717.92
5.5.10.0050.03117.93
5.5.00.0060.03417.88

preferences:
82.46 ms | 401 KiB | 5 Q