3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = " Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, ...show all 12 brand nameswhen an unknown printer took a galley of type and scrambled it to make a type specimen book "; echo preg_replace('/[\.]+show all \d+ brand names/', '', $string);

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.4.20.0160.00320.35
8.4.10.0090.00919.65
8.3.150.0100.01016.98
8.3.140.0120.00616.76
8.3.130.0050.00318.38
8.3.120.0060.00318.80
8.3.110.0040.01220.94
8.3.100.0040.00416.79
8.3.90.0050.00326.77
8.3.80.0060.00319.36
8.3.70.0140.00718.55
8.3.60.0100.00316.62
8.3.50.0080.00823.78
8.3.40.0110.00418.83
8.3.30.0110.00419.00
8.3.20.0040.00420.90
8.3.10.0000.00723.51
8.3.00.0000.00821.76
8.2.260.0110.00320.98
8.2.250.0090.00916.83
8.2.240.0080.00017.30
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0110.00726.77
8.2.200.0060.00318.88
8.2.190.0090.00618.54
8.2.180.0160.00318.36
8.2.170.0110.00322.96
8.2.160.0100.00722.08
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00326.16
8.2.120.0040.00426.35
8.2.110.0030.00620.60
8.2.100.0060.00618.03
8.2.90.0080.00017.63
8.2.80.0030.00619.05
8.2.70.0040.00418.05
8.2.60.0030.00618.16
8.2.50.0000.00719.25
8.2.40.0000.00921.20
8.2.30.0000.00719.21
8.2.20.0000.00718.14
8.2.10.0050.00219.09
8.2.00.0040.00419.08
8.1.310.0090.00916.68
8.1.300.0030.00616.36
8.1.290.0110.00030.84
8.1.280.0150.00625.92
8.1.270.0040.00420.81
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0030.00723.91
8.1.230.0090.00322.08
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0080.00018.97
8.1.170.0040.00418.73
8.1.160.0040.00419.04
8.1.150.0040.00418.89
8.1.140.0070.00022.51
8.1.130.0070.00020.27
8.1.120.0040.00417.59
8.1.110.0040.00417.46
8.1.100.0000.00717.54
8.1.90.0060.00317.43
8.1.80.0050.00317.43
8.1.70.0040.00417.52
8.1.60.0000.00817.67
8.1.50.0060.00317.62
8.1.40.0030.00517.62
8.1.30.0040.00417.59
8.1.20.0000.00817.73
8.1.10.0030.00617.68
8.1.00.0000.00817.56
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.40
8.0.270.0030.00316.95
8.0.260.0030.00520.15
8.0.250.0070.00017.06
8.0.240.0000.00617.05
8.0.230.0030.00317.02
8.0.220.0030.00716.98
8.0.210.0000.00716.96
8.0.200.0030.00317.02
8.0.190.0050.00217.01
8.0.180.0000.00816.98
8.0.170.0040.00416.89
8.0.160.0000.00716.94
8.0.150.0000.00816.79
8.0.140.0000.00716.84
8.0.130.0090.00013.36
8.0.120.0070.00016.92
8.0.110.0040.00417.00
8.0.100.0000.00816.77
8.0.90.0090.00016.92
8.0.80.0050.01116.93
8.0.70.0070.00016.97
8.0.60.0040.00417.02
8.0.50.0040.00416.84
8.0.30.0060.01117.10
8.0.20.0070.01317.05
8.0.10.0040.00416.91
8.0.00.0120.00616.95
7.4.330.0000.00516.83
7.4.320.0000.00716.75
7.4.300.0030.00316.65
7.4.290.0030.00316.75
7.4.280.0040.00316.63
7.4.270.0030.00316.56
7.4.260.0000.00613.41
7.4.250.0050.00216.72
7.4.240.0000.00716.55
7.4.230.0070.00016.76
7.4.220.0020.00516.74
7.4.210.0060.01016.79
7.4.200.0000.00716.70
7.4.130.0170.01016.49
7.4.120.0100.01016.46
7.4.110.0030.01316.74
7.4.100.0100.00716.59
7.4.90.0120.00616.82
7.4.80.0150.00619.39
7.4.70.0030.01316.73
7.4.60.0150.00516.67
7.4.50.0070.00716.38
7.4.40.0070.01116.52
7.4.30.0090.00816.55
7.4.20.0110.00716.46
7.4.10.0100.00716.56
7.4.00.0120.00716.48
7.3.330.0040.00416.36
7.3.320.0030.00313.04
7.3.310.0030.00316.25
7.3.300.0000.00716.29
7.3.290.0080.00816.30
7.3.280.0000.01516.25
7.3.260.0070.01116.34
7.3.230.0030.01316.33
7.3.210.0130.01016.20
7.3.200.0150.00816.32
7.3.190.0130.00316.68
7.3.180.0060.01016.47
7.3.170.0110.00516.41
7.3.160.0080.00916.47
7.3.150.0090.00916.37
7.3.140.0100.00916.33
7.3.130.0120.00716.43
7.3.120.0100.01116.49
7.3.110.0060.01116.52
7.3.100.0070.01116.43
7.3.90.0080.00916.42
7.3.80.0110.00716.38
7.3.70.0070.01116.41
7.3.60.0110.00916.42
7.3.50.0070.00916.34
7.3.40.0100.00616.31
7.3.30.0080.01116.41
7.3.20.0080.01216.48
7.3.10.0110.00716.41
7.3.00.0110.00816.40
7.2.330.0070.01016.88
7.2.320.0170.00516.68
7.2.310.0120.00716.64
7.2.300.0060.01116.64
7.2.290.0090.00816.51
7.2.280.0100.00716.57
7.2.270.0080.00916.58
7.2.260.0110.00716.63
7.2.250.0060.01116.56
7.2.240.0080.01116.65
7.2.230.0090.01016.51
7.2.220.0100.00816.68
7.2.210.0080.01016.52
7.2.200.0070.01216.60
7.2.190.0110.00816.54
7.2.180.0090.00916.47
7.2.170.0080.01116.50
7.2.160.0090.00916.61
7.2.150.0090.00916.67
7.2.140.0090.01116.57
7.2.130.0070.01316.56
7.2.120.0090.01016.64
7.2.110.0090.01116.58
7.2.100.0100.01016.61
7.2.90.0060.01116.63
7.2.80.0100.00716.60
7.2.70.0080.01316.50
7.2.60.0080.00916.58
7.2.50.0100.00916.60
7.2.40.0060.01516.68
7.2.30.0110.01016.61
7.2.20.0110.00716.58
7.2.10.0120.00916.56
7.2.00.0110.01216.63
7.1.330.0310.00415.50
7.1.320.0200.00815.43
7.1.310.0260.01015.78
7.1.300.0160.00915.44
7.1.290.0220.00715.48
7.1.280.0230.00715.74
7.1.270.0230.00715.66
7.1.260.0230.00515.67
7.1.250.0230.00915.69
7.1.240.0220.00715.64
7.1.230.0260.00715.58
7.1.220.0270.00215.56
7.1.210.0320.01115.47
7.1.200.0160.00915.47
7.1.190.0210.00615.48
7.1.180.0220.00615.67
7.1.170.0230.00915.58
7.1.160.0120.01615.41
7.1.150.0210.00715.62
7.1.140.0130.01315.67
7.1.130.0350.00715.37
7.1.120.0180.00715.60
7.1.110.0160.01015.65
7.1.100.0170.01215.64
7.1.90.0220.00515.38
7.1.80.0190.00815.62
7.1.70.0210.00315.48
7.1.60.0220.00915.63
7.1.50.0190.01015.57
7.1.40.0190.01015.58
7.1.30.0240.00415.64
7.1.20.0410.00615.58
7.1.10.0200.00715.53
7.1.00.0210.00415.60
7.0.330.0270.00315.26
7.0.320.0230.01016.21
7.0.310.0190.00815.33
7.0.300.0190.00815.40
7.0.290.0170.01115.39
7.0.280.0180.01215.28
7.0.270.0260.01015.25
7.0.260.0230.00415.18
7.0.250.0210.00915.42
7.0.240.0210.00715.33
7.0.230.0260.00215.32
7.0.220.0170.01215.31
7.0.210.0200.00715.44
7.0.200.0260.00415.32
7.0.190.0210.00715.28
7.0.180.0160.01015.41
7.0.170.0360.00315.35
7.0.160.0250.00515.32
7.0.150.0190.00915.44
7.0.140.0160.01115.36
7.0.130.0150.01115.30
7.0.120.0230.00715.46
7.0.110.0150.01515.29
7.0.100.0260.00315.23
7.0.90.0230.00715.43
7.0.80.0200.00715.23
7.0.70.0170.00915.31
7.0.60.0140.01115.35
7.0.50.0240.00315.20
7.0.40.0240.00815.21
7.0.30.0170.01015.36
7.0.20.0290.00715.24
7.0.10.0170.01215.34
7.0.00.0180.00715.31
5.6.400.0180.01315.87
5.6.390.0150.01415.95
5.6.380.0220.00715.96
5.6.370.0220.00815.94
5.6.360.0210.01016.03
5.6.350.0170.01116.03
5.6.340.0180.01316.13
5.6.330.0140.01516.12
5.6.320.0190.01316.06
5.6.310.0180.01215.88
5.6.300.0200.00916.11
5.6.290.0150.01316.07
5.6.280.0200.01015.99
5.6.270.0200.01215.84
5.6.260.0200.01016.03
5.6.250.0200.00915.80
5.6.240.0220.00715.72
5.6.230.0220.00515.91
5.6.220.0210.01115.92
5.6.210.0220.00715.83
5.6.200.0180.01315.83
5.6.190.0200.00915.90
5.6.180.0210.00915.93
5.6.170.0180.01115.96
5.6.160.0160.01315.92
5.6.150.0240.01115.82
5.6.140.0220.01015.93
5.6.130.0240.00816.03
5.6.120.0240.00816.02
5.6.110.0190.01215.75
5.6.100.0220.01215.79
5.6.90.0200.00815.81
5.6.80.0210.00615.92
5.6.70.0200.01015.66
5.6.60.0230.00915.82
5.6.50.0160.01515.88
5.6.40.0190.00915.86
5.6.30.0240.00715.90
5.6.20.0210.00815.69
5.6.10.0180.01115.90
5.6.00.0220.00615.73
5.5.380.0160.01115.64
5.5.370.0200.00815.85
5.5.360.0200.00915.78
5.5.350.0230.00615.76
5.5.340.0180.01015.91
5.5.330.0200.01015.67
5.5.320.0210.01115.88
5.5.310.0270.00615.84
5.5.300.0220.01015.80
5.5.290.0160.01515.85
5.5.280.0250.00415.78
5.5.270.0210.01015.89
5.5.260.0170.01515.78
5.5.250.0230.00715.65
5.5.240.0170.01115.81
5.5.230.0190.01015.87
5.5.220.0150.01515.58
5.5.210.0210.01015.71
5.5.200.0170.01215.78
5.5.190.0190.01015.73
5.5.180.0130.01515.65
5.5.170.0220.00715.65
5.5.160.0180.01115.75
5.5.150.0140.01515.69
5.5.140.0180.00915.82
5.5.130.0180.01415.79
5.5.120.0170.01215.78
5.5.110.0180.01215.63
5.5.100.0130.01515.54
5.5.90.0210.00615.65
5.5.80.0190.00915.77
5.5.70.0190.01015.73
5.5.60.0190.01015.70
5.5.50.0150.01215.59
5.5.40.0200.00815.63
5.5.30.0190.01115.68
5.5.20.0220.00515.66
5.5.10.0140.01215.61
5.5.00.0220.00815.63
5.4.450.0180.00612.67
5.4.440.0160.00612.76
5.4.430.0130.00912.65
5.4.420.0190.00412.52
5.4.410.0140.00612.74
5.4.400.0170.00512.50
5.4.390.0130.00912.59
5.4.380.0150.00912.52
5.4.370.0120.01012.48
5.4.360.0150.00712.45
5.4.350.0160.00512.54
5.4.340.0150.00612.49
5.4.330.0140.00712.54
5.4.320.0160.00612.64
5.4.310.0130.00812.54
5.4.300.0160.00512.61
5.4.290.0140.00712.63
5.4.280.0140.00912.60
5.4.270.0180.00312.47
5.4.260.0130.00812.52
5.4.250.0100.01412.61
5.4.240.0150.00912.48
5.4.230.0170.00812.57
5.4.220.0120.00912.67
5.4.210.0150.00812.63
5.4.200.0190.00612.53
5.4.190.0150.00612.48
5.4.180.0170.00712.50
5.4.170.0180.00512.53
5.4.160.0200.00512.61
5.4.150.0140.01012.53
5.4.140.0140.01012.71
5.4.130.0170.00612.68
5.4.120.0150.00712.47
5.4.110.0180.00312.54
5.4.100.0170.00612.53
5.4.90.0150.00712.46
5.4.80.0130.00812.61
5.4.70.0160.00512.52
5.4.60.0150.00412.54
5.4.50.0120.00912.59
5.4.40.0160.00412.53
5.4.30.0150.00712.62
5.4.20.0100.01212.57
5.4.10.0220.00412.63
5.4.00.0150.00812.60
5.3.290.0170.00813.21
5.3.280.0130.00812.95
5.3.270.0140.00913.02
5.3.260.0170.00913.05
5.3.250.0170.00713.07
5.3.240.0170.01012.96
5.3.230.0120.01112.87
5.3.220.0150.00812.90
5.3.210.0130.01012.91
5.3.200.0150.00712.84
5.3.190.0170.00613.00
5.3.180.0130.01013.05
5.3.170.0150.00812.97
5.3.160.0130.00813.10
5.3.150.0130.01013.05
5.3.140.0170.00813.05
5.3.130.0150.01013.12
5.3.120.0200.00812.95
5.3.110.0120.01513.01
5.3.100.0140.00913.05
5.3.90.0150.00812.97
5.3.80.0160.00612.76
5.3.70.0120.01212.84
5.3.60.0130.01013.01
5.3.50.0130.01012.82
5.3.40.0180.00612.76
5.3.30.0170.00612.89
5.3.20.0160.00813.00
5.3.10.0130.01112.84
5.3.00.0160.00612.75
5.2.170.0130.00612.03
5.2.160.0130.00511.95
5.2.150.0140.00512.01
5.2.140.0120.00711.98
5.2.130.0140.00711.87
5.2.120.0110.00811.99
5.2.110.0110.00911.87
5.2.100.0120.00712.07
5.2.90.0140.00511.97
5.2.80.0110.00811.89
5.2.70.0130.00711.85
5.2.60.0150.00611.75
5.2.50.0150.00311.77
5.2.40.0090.01011.92
5.2.30.0110.00911.74
5.2.20.0140.00411.86
5.2.10.0100.00711.83
5.2.00.0090.00911.73
5.1.60.0110.00510.85
5.1.50.0090.00810.89
5.1.40.0150.00611.10
5.1.30.0090.01011.18
5.1.20.0110.00811.29
5.1.10.0120.00510.99
5.1.00.0090.00610.83
5.0.50.0100.00310.32
5.0.40.0090.0059.88
5.0.30.0040.0109.98
5.0.20.0110.0039.84
5.0.10.0020.0119.85
5.0.00.0100.0049.92
4.4.90.0070.0028.99
4.4.80.0070.0018.99
4.4.70.0030.0068.99
4.4.60.0090.0008.99
4.4.50.0100.0008.99
4.4.40.0050.0048.99
4.4.30.0070.0028.99
4.4.20.0080.0028.99
4.4.10.0040.0048.99
4.4.00.0040.0048.99
4.3.110.0030.0058.99
4.3.100.0020.0068.99
4.3.90.0070.0028.99
4.3.80.0050.0038.99
4.3.70.0060.0028.99
4.3.60.0060.0028.99
4.3.50.0050.0048.99
4.3.40.0060.0028.99
4.3.30.0040.0048.99
4.3.20.0050.0038.99
4.3.10.0020.0068.99
4.3.00.0060.0028.99

preferences:
45.38 ms | 403 KiB | 5 Q