3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a quick red fox jumped over the lazy brown dog'; $arrParts = preg_split('/[\)\(?,.:;\/%\$\!\r\n]/', $string); print_r($arrParts);

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.60.0120.00316.50
8.3.50.0140.00522.17
8.3.40.0040.01118.92
8.3.30.0090.00618.93
8.3.20.0040.00420.34
8.3.10.0030.00523.71
8.3.00.0070.00317.64
8.2.180.0150.00416.88
8.2.170.0100.00722.96
8.2.160.0030.01220.39
8.2.150.0090.00024.18
8.2.140.0070.01124.66
8.2.130.0040.00426.16
8.2.120.0080.00019.38
8.2.110.0070.00322.31
8.2.100.0070.00418.22
8.2.90.0030.00618.95
8.2.80.0030.00517.97
8.2.70.0060.00317.75
8.2.60.0070.00317.90
8.2.50.0030.00518.07
8.2.40.0050.00318.09
8.2.30.0050.00318.25
8.2.20.0050.00317.75
8.2.10.0040.00417.95
8.2.00.0030.00517.71
8.1.280.0070.01125.92
8.1.270.0080.00023.84
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00923.95
8.1.230.0030.00919.09
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.34
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0080.00018.55
8.1.160.0040.00421.98
8.1.150.0050.00218.71
8.1.140.0070.00017.51
8.1.130.0000.00717.71
8.1.120.0040.00417.56
8.1.110.0030.00617.55
8.1.100.0050.00217.43
8.1.90.0040.00417.58
8.1.80.0050.00317.61
8.1.70.0000.00817.49
8.1.60.0000.00717.70
8.1.50.0000.00817.55
8.1.40.0040.00417.61
8.1.30.0040.00417.56
8.1.20.0000.00817.71
8.1.10.0040.00417.60
8.1.00.0080.00017.59
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0080.00018.39
8.0.270.0030.00317.25
8.0.260.0000.00617.11
8.0.250.0030.00317.03
8.0.240.0050.00616.89
8.0.230.0050.00216.89
8.0.220.0000.00716.96
8.0.210.0030.00316.94
8.0.200.0030.00316.93
8.0.190.0030.00416.92
8.0.180.0040.00417.00
8.0.170.0080.00016.93
8.0.160.0000.00716.93
8.0.150.0030.00516.89
8.0.140.0070.00016.82
8.0.130.0000.00613.43
8.0.120.0040.00416.84
8.0.110.0000.00716.80
8.0.100.0040.00416.83
8.0.90.0000.00716.88
8.0.80.0060.00916.85
8.0.70.0030.00517.02
8.0.60.0040.00416.96
8.0.50.0020.00516.96
8.0.30.0120.00717.06
8.0.20.0120.01117.40
8.0.10.0040.00416.88
8.0.00.0090.00816.63
7.4.330.0070.00015.00
7.4.320.0050.00316.63
7.4.300.0000.00616.78
7.4.290.0070.00016.49
7.4.280.0030.00516.77
7.4.270.0050.00316.59
7.4.260.0030.00316.62
7.4.250.0040.00416.71
7.4.240.0030.00316.71
7.4.230.0030.00316.56
7.4.220.0030.01416.67
7.4.210.0060.01016.72
7.4.200.0070.00016.48
7.4.160.0090.00616.57
7.4.150.0100.00717.40
7.4.140.0160.00517.86
7.4.130.0100.00916.68
7.4.120.0120.00616.53
7.4.110.0100.01316.43
7.4.100.0070.01616.47
7.4.90.0110.00616.61
7.4.80.0100.01319.39
7.4.70.0070.01116.56
7.4.60.0100.01016.66
7.4.50.0030.00616.51
7.4.40.0120.00916.51
7.4.30.0090.00616.63
7.4.00.0070.00915.03
7.3.330.0030.00313.16
7.3.320.0000.00513.07
7.3.310.0060.00016.16
7.3.300.0000.00616.18
7.3.290.0060.01116.27
7.3.280.0090.00716.31
7.3.270.0080.01217.40
7.3.260.0110.00716.58
7.3.250.0120.00516.52
7.3.240.0100.00716.66
7.3.230.0100.00716.39
7.3.210.0070.01016.51
7.3.200.0090.00719.39
7.3.190.0090.00616.32
7.3.180.0040.01116.68
7.3.170.0140.00716.72
7.3.160.0000.01516.55
7.3.120.0070.01014.82
7.3.110.0000.01315.14
7.3.100.0130.00314.59
7.3.90.0070.00414.93
7.3.80.0120.00314.76
7.3.70.0000.01014.98
7.3.60.0070.00714.90
7.3.50.0090.00614.66
7.3.40.0060.01014.85
7.3.30.0060.00615.03
7.3.20.0060.00316.85
7.3.10.0060.00816.70
7.3.00.0140.00316.46
7.2.330.0150.00916.61
7.2.320.0030.01316.72
7.2.310.0120.00616.64
7.2.300.0030.01316.77
7.2.290.0090.00816.68
7.2.250.0090.00915.09
7.2.240.0030.01415.10
7.2.230.0140.00314.99
7.2.220.0080.00814.80
7.2.210.0030.01015.03
7.2.200.0060.00915.18
7.2.190.0100.00714.96
7.2.180.0080.00614.84
7.2.170.0110.00414.95
7.2.130.0040.01216.53
7.2.120.0070.01016.57
7.2.110.0080.01116.57
7.2.100.0100.00716.39
7.2.90.0040.00716.93
7.2.80.0150.00016.70
7.2.70.0100.00716.61
7.2.60.0060.01016.92
7.2.50.0160.00716.94
7.2.40.0070.01016.73
7.2.30.0100.00317.02
7.2.20.0070.01116.92
7.2.10.0100.01216.85
7.2.00.0050.00817.89
7.1.330.0100.00715.82
7.1.320.0030.00615.72
7.1.310.0040.00416.00
7.1.300.0060.01015.76
7.1.290.0030.00615.93
7.1.280.0040.01116.05
7.1.270.0100.00615.95
7.1.260.0070.00715.87
7.1.250.0090.00615.50
7.1.100.0000.01118.49
7.1.70.0110.00517.37
7.1.60.0100.01619.70
7.1.50.0130.00716.98
7.1.00.0100.07022.32
7.0.200.0070.00316.70
7.0.140.0070.07021.97
7.0.60.0130.07719.87
7.0.50.0000.04317.88
7.0.40.0130.07720.26
7.0.30.0330.08320.13
7.0.20.0430.06320.08
7.0.10.0100.04720.20
7.0.00.0030.04320.11
5.6.280.0070.07020.81
5.6.210.0030.08720.70
5.6.200.0070.05018.27
5.6.190.0200.05720.61
5.6.180.0030.04320.52
5.6.170.0270.04720.48
5.6.160.0130.07720.54
5.6.150.0170.07318.15
5.6.140.0100.05018.16
5.6.130.0100.06718.23
5.6.120.0030.04021.13
5.6.110.0070.08320.85
5.6.100.0030.06021.01
5.6.90.0070.07721.02
5.6.80.0130.06320.47
5.5.350.0100.07720.29
5.5.340.0030.05317.97
5.5.330.0030.07720.40
5.5.320.0330.06320.19
5.5.310.0270.07720.30
5.5.300.0170.04717.94
5.5.290.0030.08017.95
5.5.280.0100.07720.75
5.5.270.0070.05320.83
5.5.260.0070.08320.67
5.5.250.0070.09020.68
5.5.240.0000.07020.25
5.4.450.0330.05043.80
5.4.440.0130.04743.77
5.4.430.0300.04343.77
5.4.420.0270.04343.77
5.4.410.0400.04343.76
5.4.400.0300.03743.33
5.4.390.0700.04337.18
5.4.380.0230.05018.68
5.4.370.0130.06018.50
5.4.360.0300.04018.66
5.4.350.0170.06018.73
5.4.340.0270.04718.60
5.4.320.0020.03912.48
5.4.310.0050.04712.47
5.4.300.0010.04012.48
5.4.290.0040.04612.48
5.4.280.0050.03612.37
5.4.270.0060.04612.38
5.4.260.0050.03912.37
5.4.250.0070.03612.38
5.4.240.0060.03512.38
5.4.230.0030.04012.37
5.4.220.0040.04612.37
5.4.210.0040.03612.36
5.4.200.0090.04212.37
5.4.190.0060.04112.36
5.4.180.0080.03812.36
5.4.170.0090.03312.38
5.4.160.0060.03512.37
5.4.150.0070.04112.36
5.4.140.0090.03512.05
5.4.130.0030.03812.04
5.4.120.0070.03412.00
5.4.110.0060.04211.99
5.4.100.0090.03811.99
5.4.90.0070.04511.99
5.4.80.0030.04611.99
5.4.70.0070.03311.99
5.4.60.0090.03111.98
5.4.50.0080.03211.98
5.4.40.0050.03511.98
5.4.30.0030.03711.97
5.4.20.0050.03511.98
5.4.10.0090.03811.97
5.4.00.0040.03911.46
5.3.290.0060.03912.80
5.3.280.0100.03412.71
5.3.270.0080.03712.73
5.3.260.0070.03812.71
5.3.250.0050.04312.71
5.3.240.0100.03512.72
5.3.230.0060.04312.71
5.3.220.0050.03712.68
5.3.210.0060.04112.68
5.3.200.0060.03612.68
5.3.190.0100.03312.68
5.3.180.0090.03412.68
5.3.170.0050.03712.67
5.3.160.0070.04312.67
5.3.150.0060.03712.67
5.3.140.0030.04412.66
5.3.130.0090.04112.66
5.3.120.0050.03912.66
5.3.110.0080.04612.66
5.3.100.0040.03712.12
5.3.90.0070.04212.09
5.3.80.0070.03412.07
5.3.70.0060.03612.07
5.3.60.0060.04412.06
5.3.50.0050.03612.01
5.3.40.0080.04212.01
5.3.30.0070.03511.96
5.3.20.0080.03711.75
5.3.10.0040.03711.72
5.3.00.0090.03511.70
5.2.170.0060.0299.20
5.2.160.0040.0299.21
5.2.150.0050.0349.21
5.2.140.0070.0329.20
5.2.130.0040.0349.16
5.2.120.0070.0259.16
5.2.110.0040.0309.17
5.2.100.0070.0259.16
5.2.90.0060.0319.16
5.2.80.0050.0319.16
5.2.70.0060.0369.16
5.2.60.0060.0319.12
5.2.50.0030.0449.09
5.2.40.0060.0279.07
5.2.30.0030.0319.04
5.2.20.0060.0329.02
5.2.10.0050.0288.93
5.2.00.0030.0318.79
5.1.60.0040.0248.06
5.1.50.0030.0318.06
5.1.40.0060.0238.04
5.1.30.0040.0278.39
5.1.20.0040.0278.41
5.1.10.0060.0248.14
5.1.00.0060.0238.14
5.0.50.0030.0206.61
5.0.40.0040.0186.47
5.0.30.0050.0296.29
5.0.20.0030.0196.26
5.0.10.0050.0176.23
5.0.00.0040.0376.22
4.4.90.0030.0144.78
4.4.80.0020.0154.75
4.4.70.0030.0144.75
4.4.60.0020.0164.75
4.4.50.0020.0204.77
4.4.40.0030.0244.71
4.4.30.0020.0154.76
4.4.20.0020.0154.84
4.4.10.0060.0234.85
4.4.00.0030.0244.76
4.3.110.0030.0224.67
4.3.100.0010.0164.67
4.3.90.0030.0184.63
4.3.80.0020.0244.59
4.3.70.0030.0214.63
4.3.60.0040.0134.63
4.3.50.0030.0174.62
4.3.40.0040.0224.54
4.3.30.0010.0233.28
4.3.20.0040.0133.26
4.3.10.0010.0243.22
4.3.00.0030.01737.17

preferences:
41.81 ms | 401 KiB | 5 Q