3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i="z";preg_match("%([!#-&\(-+-0-9=@^-`~])|([EIO-RT-UWY[-]eio-rt-uwy{-}])|([\"':-;ADF-HJ-LSadf-hj-ls])|([,.-/<>-?B-CM-NVXZb-cm-nvxz])%",$i,$m);echo array_flip($m)[$i];

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.120.0060.00318.74
8.3.110.0140.00720.94
8.3.100.0100.00024.06
8.3.90.0040.00426.77
8.3.80.0060.00317.97
8.3.70.0160.00318.18
8.3.60.0150.00716.50
8.3.50.0130.00821.19
8.3.40.0120.00318.96
8.3.30.0150.00018.87
8.3.20.0000.01520.30
8.3.10.0050.00221.76
8.3.00.0120.00621.76
8.2.240.0080.00017.11
8.2.230.0040.00722.58
8.2.220.0050.00337.54
8.2.210.0040.00426.77
8.2.200.0040.00818.54
8.2.190.0090.01316.88
8.2.180.0140.00418.62
8.2.170.0100.01022.96
8.2.160.0040.01120.53
8.2.150.0090.00624.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0040.00421.19
8.2.110.0030.00621.05
8.2.100.0120.00017.93
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0060.00317.88
8.2.60.0030.00617.93
8.2.50.0080.00018.09
8.2.40.0050.00322.46
8.2.30.0070.00019.50
8.2.20.0070.00317.77
8.2.10.0040.00418.00
8.2.00.0000.00718.01
8.1.300.0060.00820.14
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0090.00926.35
8.1.250.0060.01228.09
8.1.240.0070.00322.54
8.1.230.0040.00719.01
8.1.220.0030.00617.78
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0060.00317.47
8.1.180.0000.00718.10
8.1.170.0080.00018.70
8.1.160.0070.00020.72
8.1.150.0030.00718.76
8.1.140.0050.00319.53
8.1.130.0000.00717.59
8.1.120.0000.00817.57
8.1.110.0000.00817.52
8.1.100.0040.00417.42
8.1.90.0000.00717.51
8.1.80.0070.00017.55
8.1.70.0000.00717.58
8.1.60.0000.00817.70
8.1.50.0030.00617.62
8.1.40.0000.00817.56
8.1.30.0040.00417.70
8.1.20.0040.00417.69
8.1.10.0000.00817.70
8.1.00.0040.00417.67
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.47
8.0.270.0070.00017.02
8.0.260.0030.00317.31
8.0.250.0000.00717.07
8.0.240.0050.00317.07
8.0.230.0080.00016.91
8.0.220.0070.00316.98
8.0.210.0050.00216.80
8.0.200.0040.00416.98
8.0.190.0040.00417.00
8.0.180.0000.00717.02
8.0.170.0000.00817.02
8.0.160.0000.00817.06
8.0.150.0040.00816.94
8.0.140.0000.00716.98
8.0.130.0030.00313.48
8.0.120.0060.00316.97
8.0.110.0050.00316.91
8.0.100.0030.00517.03
8.0.90.0030.00516.78
8.0.80.0100.00516.98
8.0.70.0000.00716.77
8.0.60.0070.00016.86
8.0.50.0000.00816.84
8.0.30.0050.01417.10
8.0.20.0100.01117.42
8.0.10.0000.00717.14
8.0.00.0120.00716.97
7.4.330.0000.00516.78
7.4.320.0060.00016.57
7.4.300.0000.00716.73
7.4.290.0040.00416.73
7.4.280.0000.00816.65
7.4.270.0060.00316.69
7.4.260.0030.00716.52
7.4.250.0000.00716.66
7.4.240.0070.00016.65
7.4.230.0070.00016.68
7.4.220.0090.01616.77
7.4.210.0040.01616.83
7.4.200.0070.00016.86
7.4.150.0120.00617.40
7.4.140.0090.01217.86
7.4.130.0120.00916.58
7.4.120.0060.01116.68
7.4.110.0120.00616.59
7.4.100.0180.00316.64
7.4.90.0130.00316.85
7.4.80.0100.00619.39
7.4.70.0070.01016.43
7.4.60.0070.01016.70
7.4.50.0030.01216.48
7.4.40.0100.00616.59
7.4.30.0080.01516.45
7.4.00.0100.00715.16
7.3.330.0000.00613.23
7.3.320.0000.00513.22
7.3.310.0030.00316.38
7.3.300.0070.00016.28
7.3.290.0120.00616.35
7.3.280.0090.00716.36
7.3.270.0030.01417.40
7.3.260.0140.00716.63
7.3.250.0080.00916.57
7.3.240.0140.00316.60
7.3.230.0130.00316.41
7.3.210.0110.00716.36
7.3.200.0040.01319.39
7.3.190.0070.01016.33
7.3.180.0140.00716.54
7.3.170.0070.01016.37
7.3.160.0060.01016.62
7.3.120.0110.00714.88
7.3.110.0080.01114.77
7.3.100.0070.00715.12
7.3.90.0080.00414.95
7.3.80.0030.00614.78
7.3.70.0040.00814.61
7.3.60.0030.00914.87
7.3.50.0070.00715.00
7.3.40.0030.01014.93
7.3.30.0000.01614.93
7.3.20.0040.01116.52
7.3.10.0090.00016.63
7.3.00.0060.00916.60
7.2.330.0090.01016.70
7.2.320.0090.01216.65
7.2.310.0110.00716.93
7.2.300.0090.00916.69
7.2.290.0170.00016.75
7.2.250.0030.01014.95
7.2.240.0030.01715.01
7.2.230.0080.00815.19
7.2.220.0000.00915.16
7.2.210.0100.00315.09
7.2.200.0060.00614.86
7.2.190.0070.00714.88
7.2.180.0030.01015.10
7.2.170.0000.00915.06
7.2.60.0100.00316.88
7.2.00.0060.00919.65
7.1.330.0060.00915.69
7.1.320.0030.00715.71
7.1.310.0030.01215.92
7.1.300.0000.01415.80
7.1.290.0040.01115.92
7.1.280.0060.00616.06
7.1.270.0040.01116.12
7.1.260.0000.01416.04
7.1.200.0000.01415.67
7.1.100.0070.00718.52
7.1.70.0030.00717.41
7.1.60.0110.01519.40
7.1.50.0060.01317.06
7.1.00.0030.07722.53
7.0.200.0070.00716.60
7.0.60.0100.07721.77
7.0.50.0070.05317.88
7.0.40.0030.04320.08
7.0.30.0200.04020.18
7.0.20.0370.07320.21
7.0.10.0000.08320.18
7.0.00.0070.05720.18
5.6.280.0030.03321.12
5.6.210.0130.07720.50
5.6.200.0070.08318.09
5.6.190.0070.04720.27
5.6.180.0330.07320.39
5.6.170.0400.07020.48
5.6.160.0030.06020.54
5.6.150.0100.07718.21
5.6.140.0000.05018.11
5.6.130.0070.08718.12
5.6.120.0170.06721.09
5.6.110.0030.07021.02
5.6.100.0100.06720.97
5.6.90.0070.06020.98
5.6.80.0130.03020.37
5.5.350.0230.08020.32
5.5.340.0100.06317.89
5.5.330.0100.03720.25
5.5.320.0570.07020.17
5.5.310.0170.04020.21
5.5.300.0030.05017.89
5.5.290.0030.04018.02
5.5.280.0000.09720.84
5.5.270.0030.05020.75
5.5.260.0100.03320.76
5.5.250.0130.03020.76
5.5.240.0130.04020.32

preferences:
28.68 ms | 403 KiB | 5 Q