3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'SlimDuct 78" x 2-3/4" White Length of Line Set Ducting SD77W'; $str = strtolower(trim(preg_replace('/[^a-zA-Z0-9]+/', '-', $name), '-')); echo $str. "\n"; ?>

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.0090.00618.18
8.3.50.0100.00522.14
8.3.40.0080.00818.84
8.3.30.0140.00018.95
8.3.20.0040.00420.19
8.3.10.0080.00021.92
8.3.00.0080.00022.39
8.2.180.0130.00316.75
8.2.170.0070.00722.96
8.2.160.0070.01321.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00719.61
8.2.110.0030.00622.29
8.2.100.0110.00017.91
8.2.90.0000.00819.16
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0000.00818.03
8.2.50.0080.00018.07
8.2.40.0000.00818.16
8.2.30.0040.00417.99
8.2.20.0040.00417.68
8.2.10.0030.00519.69
8.2.00.0030.00617.83
8.1.280.0140.00325.92
8.1.270.0050.00323.85
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00023.70
8.1.230.0070.00419.23
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0040.00717.35
8.1.190.0040.00417.52
8.1.180.0000.00718.10
8.1.170.0060.00318.73
8.1.160.0000.00722.02
8.1.150.0000.00718.67
8.1.140.0030.00717.52
8.1.130.0030.00317.84
8.1.120.0050.00217.59
8.1.110.0030.00517.53
8.1.100.0030.00317.56
8.1.90.0040.00417.51
8.1.80.0030.00317.46
8.1.70.0070.00017.52
8.1.60.0050.00317.69
8.1.50.0040.00417.50
8.1.40.0040.00417.59
8.1.30.0050.00517.71
8.1.20.0030.00517.65
8.1.10.0040.00417.66
8.1.00.0000.00817.54
8.0.300.0040.00418.77
8.0.290.0050.00316.93
8.0.280.0030.00518.41
8.0.270.0070.00017.23
8.0.260.0000.00716.98
8.0.250.0030.00317.07
8.0.240.0080.00017.07
8.0.230.0000.00717.11
8.0.220.0000.00716.99
8.0.210.0040.00416.95
8.0.200.0000.00817.11
8.0.190.0000.00717.16
8.0.180.0070.00017.06
8.0.170.0040.00417.07
8.0.160.0050.00217.13
8.0.150.0070.00016.93
8.0.140.0000.00716.90
8.0.130.0000.00613.41
8.0.120.0040.00416.96
8.0.110.0040.00416.93
8.0.100.0050.00216.85
8.0.90.0040.00416.87
8.0.80.0050.01016.95
8.0.70.0070.00016.87
8.0.60.0040.00416.85
8.0.50.0040.00416.93
8.0.30.0110.00917.12
8.0.20.0110.01117.48
8.0.10.0040.00417.08
8.0.00.0110.00716.91
7.4.330.0030.00315.04
7.4.320.0000.00716.66
7.4.300.0070.00016.71
7.4.290.0000.00616.74
7.4.280.0070.00016.56
7.4.270.0030.00316.60
7.4.260.0030.00516.61
7.4.250.0040.00416.72
7.4.240.0020.00616.62
7.4.230.0000.00716.78
7.4.220.0030.01416.75
7.4.210.0090.00816.68
7.4.200.0000.00716.72
7.4.190.0070.00016.71
7.4.160.0080.00816.75
7.4.150.0070.01017.40
7.4.140.0120.00917.86
7.4.130.0110.00916.71
7.4.120.0100.00816.60
7.4.110.0090.00916.77
7.4.100.0030.01516.70
7.4.90.0100.00716.72
7.4.80.0170.00619.39
7.4.70.0060.01016.77
7.4.60.0090.00816.65
7.4.50.0030.00516.71
7.4.40.0080.01022.77
7.4.30.0080.01116.66
7.4.00.0090.00615.20
7.3.330.0000.00513.24
7.3.320.0030.00313.17
7.3.310.0070.00016.31
7.3.300.0000.00716.23
7.3.290.0090.00616.32
7.3.280.0060.01216.39
7.3.270.0130.00317.40
7.3.260.0100.00716.42
7.3.250.0120.00916.42
7.3.240.0210.00016.65
7.3.230.0070.01016.61
7.3.210.0130.00316.40
7.3.200.0070.01019.39
7.3.190.0190.00416.65
7.3.180.0130.00316.70
7.3.170.0130.00316.45
7.3.160.0100.00616.67
7.3.120.0100.00715.02
7.3.10.0130.01316.53
7.3.00.0120.00916.69
7.2.330.0060.01616.82
7.2.320.0040.01516.73
7.2.310.0060.00916.73
7.2.300.0030.01316.70
7.2.290.0170.00016.86
7.2.130.0170.00716.95
7.2.120.0170.01016.89
7.2.110.0110.01116.82
7.2.100.0130.01017.07
7.2.90.0100.01016.81
7.2.80.0130.00916.80
7.2.70.0080.01717.00
7.2.60.0130.00716.89
7.2.50.0110.01316.82
7.2.40.0240.00617.04
7.2.30.0210.00517.14
7.2.20.0130.00016.80
7.2.10.0100.00616.90
7.2.00.0110.00518.27
7.1.250.0060.01215.42
7.1.200.0230.00715.63
7.1.100.0030.00618.29
7.1.70.0060.00617.12
7.1.60.0110.00419.82
7.1.50.0060.00617.09
7.1.00.0030.07722.37
7.0.200.0080.00416.98
7.0.140.0070.07022.05
7.0.60.0100.07719.93
7.0.50.0130.05317.68
7.0.40.0200.06720.04
7.0.30.0330.03720.22
7.0.20.0270.04720.21
7.0.10.0100.08320.05
7.0.00.0070.07720.13
5.6.280.0070.06721.02
5.6.210.0030.09320.54
5.6.200.0070.04718.22
5.6.190.0130.03320.44
5.6.180.0130.07720.48
5.6.170.0130.04720.46
5.6.160.0070.06720.61
5.6.150.0070.07318.18
5.6.140.0100.08018.20
5.6.130.0100.08018.07
5.6.120.0100.08020.89
5.6.110.0130.07321.13
5.6.100.0200.06721.01
5.6.90.0270.07720.96
5.6.80.0070.03720.36
5.5.350.0100.04720.39
5.5.340.0000.06017.88
5.5.330.0070.08720.20
5.5.320.0230.04720.36
5.5.310.0330.07720.28
5.5.300.0170.07318.01
5.5.290.0070.07318.01
5.5.280.0130.07720.84
5.5.270.0070.03720.86
5.5.260.0130.07720.83
5.5.250.0000.05020.60
5.5.240.0130.05320.20
5.4.450.0200.03719.54
5.4.440.0200.04019.54
5.4.430.0230.04719.38
5.4.420.0170.05019.38
5.4.410.0270.04019.43
5.4.400.0270.06318.81
5.4.390.0170.07319.12
5.4.380.0200.05018.93
5.4.370.0230.03019.08
5.4.360.0130.04019.06
5.4.350.0200.03319.08
5.4.340.0200.03719.09
5.4.320.0230.04319.13
5.4.310.0170.04019.05
5.4.300.0230.03018.79
5.4.290.0170.03719.10
5.4.280.0200.05019.08
5.4.270.0230.03019.09
5.4.260.0200.03319.16
5.4.250.0130.04019.08
5.4.240.0100.04319.05
5.4.230.0230.04019.07
5.4.220.0270.04318.77
5.4.210.0270.04019.23
5.4.200.0170.07719.12
5.4.190.0270.04019.07
5.4.180.0270.03018.92
5.4.170.0230.04319.09
5.4.160.0270.02718.86
5.4.150.0200.03319.07
5.4.140.0200.04316.27
5.4.130.0230.02716.31
5.4.120.0170.04316.25
5.4.110.0230.03016.34
5.4.100.0230.04316.42
5.4.90.0200.03016.43
5.4.80.0200.04316.05
5.4.70.0200.05716.15
5.4.60.0170.04316.37
5.4.50.0230.02716.47
5.4.40.0200.03316.41
5.4.30.0200.03316.01
5.4.20.0300.03716.43
5.4.10.0170.03316.15
5.4.00.0170.06715.72
5.3.290.0200.03314.50
5.3.280.0270.05714.43
5.3.270.0270.06314.44
5.3.260.0230.03314.44
5.3.250.0200.03314.55
5.3.240.0230.04314.54
5.3.230.0200.03314.53
5.3.220.0200.03314.50
5.3.210.0300.06714.42
5.3.200.0270.05714.50
5.3.190.0230.04314.42
5.3.180.0200.03314.41
5.3.170.0170.03714.61
5.3.160.0130.04014.51
5.3.150.0170.03714.43
5.3.140.0230.06714.43
5.3.130.0230.03714.49
5.3.120.0200.07014.38
5.3.110.0270.06714.59
5.3.100.0300.06713.98
5.3.90.0200.07013.93
5.3.80.0270.04013.86
5.3.70.0200.03313.97
5.3.60.0200.05713.95
5.3.50.0170.04313.85
5.3.40.0230.03713.72
5.3.30.0330.05713.95
5.3.20.0270.03013.73
5.3.10.0170.03313.61
5.3.00.0200.04013.59
5.2.170.0130.04711.29
5.2.160.0270.02711.29
5.2.150.0200.05011.29
5.2.140.0170.05011.29
5.2.130.0130.05011.29
5.2.120.0100.03311.29
5.2.110.0200.05711.29
5.2.100.0130.03711.29
5.2.90.0230.05711.29
5.2.80.0200.05311.29
5.2.70.0130.06011.29
5.2.60.0200.05011.29
5.2.50.0100.05711.29
5.2.40.0170.03011.29
5.2.30.0170.03311.29
5.2.20.0170.05711.29
5.2.10.0230.02311.29
5.2.00.0100.05711.29
5.1.60.0130.04311.29
5.1.50.0130.04311.29
5.1.40.0130.04711.29
5.1.30.0130.05711.29
5.1.20.0130.03311.29
5.1.10.0170.05011.29
5.1.00.0170.03311.29
5.0.50.0070.05011.29
5.0.40.0030.02711.29
5.0.30.0070.05711.29
5.0.20.0000.04011.29
5.0.10.0030.02711.29
5.0.00.0100.03711.29
4.4.90.0070.01711.29
4.4.80.0070.01311.29
4.4.70.0030.02011.29
4.4.60.0070.01311.29
4.4.50.0100.01311.29
4.4.40.0070.02311.29
4.4.30.0070.02011.29
4.4.20.0070.02011.29
4.4.10.0030.01711.29
4.4.00.0070.02311.29
4.3.110.0070.01711.29
4.3.100.0070.01311.29
4.3.90.0030.01711.29
4.3.80.0070.02311.29
4.3.70.0030.02011.29
4.3.60.0070.02011.29
4.3.50.0070.01711.29
4.3.40.0030.02311.29
4.3.30.0030.01311.29
4.3.20.0030.02011.29
4.3.10.0030.01711.29
4.3.00.0030.01311.29

preferences:
41.42 ms | 401 KiB | 5 Q