3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ '8x10 frame', '8*10 frame', '8 * 10 frame', '8 x 10 frame', '8x10 photo frame' ]; var_export(preg_replace('~\d\K ?[x*] ?(?=\d)~i', ' x ', $strings));

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.5.00.0130.00720.21
8.4.150.0030.00014.05
8.4.140.0120.00817.93
8.4.130.0090.00619.80
8.4.120.0130.00620.63
8.4.110.0030.00622.52
8.4.100.0110.00418.59
8.4.90.0090.00318.90
8.4.80.0130.00817.80
8.4.70.0180.00417.91
8.4.60.0120.01018.67
8.4.50.0120.00720.80
8.4.40.0090.01218.01
8.4.30.0130.00620.16
8.4.20.0100.01018.30
8.4.10.0130.00719.85
8.3.280.0120.00818.64
8.3.270.0120.00816.54
8.3.260.0050.00416.57
8.3.250.0120.00718.69
8.3.240.0110.00816.67
8.3.230.0140.00616.78
8.3.220.0090.00918.94
8.3.210.0120.00816.83
8.3.200.0080.01016.67
8.3.190.0120.00717.45
8.3.180.0120.00716.55
8.3.170.0110.00716.74
8.3.160.0040.01216.66
8.3.150.0160.00317.20
8.3.140.0000.00816.73
8.3.130.0000.00818.45
8.3.120.0040.00419.01
8.3.110.0040.00416.90
8.3.100.0060.01316.79
8.3.90.0060.00926.77
8.3.80.0060.00316.88
8.3.70.0110.00416.58
8.3.60.0120.00918.28
8.3.50.0110.00617.42
8.3.40.0070.01318.98
8.3.30.0070.00718.94
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.290.0090.01020.23
8.2.280.0110.00720.43
8.2.270.0150.00016.73
8.2.260.0140.00418.63
8.2.250.0030.00516.80
8.2.240.0030.00618.93
8.2.230.0120.00320.94
8.2.220.0000.00824.06
8.2.210.0040.00426.77
8.2.200.0080.00016.75
8.2.190.0100.00716.63
8.2.180.0040.01125.92
8.2.170.0080.00819.12
8.2.160.0060.00922.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.65
8.2.110.0030.00620.49
8.2.100.0050.00517.97
8.2.90.0030.00617.88
8.2.80.0040.00418.91
8.2.70.0080.00017.75
8.2.60.0000.00817.63
8.2.50.0000.00719.34
8.2.40.0050.00321.23
8.2.30.0040.00418.00
8.2.20.0040.00417.95
8.2.10.0070.00019.26
8.2.00.0000.00719.27
8.1.330.0100.00921.63
8.1.320.0110.00916.56
8.1.310.0040.00416.87
8.1.300.0090.00917.91
8.1.290.0030.00630.84
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.77
8.1.230.0040.00722.56
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0000.00817.48
8.1.190.0040.00417.22
8.1.180.0000.00718.84
8.1.170.0040.00418.71
8.1.160.0070.00022.16
8.1.150.0040.00418.91
8.1.140.0040.00418.77
8.1.130.0030.00320.04
8.1.120.0030.00317.43
8.1.110.0080.00017.47
8.1.100.0040.00417.56
8.1.90.0000.00817.51
8.1.80.0070.00317.44
8.1.70.0000.00717.52
8.1.60.0000.00917.61
8.1.50.0050.00317.49
8.1.40.0090.00317.60
8.1.30.0000.00817.78
8.1.20.0040.00417.72
8.1.10.0060.00317.62
8.1.00.0020.00517.45
8.0.300.0080.00018.77
8.0.290.0060.00316.75
8.0.280.0070.00018.26
8.0.270.0040.00418.04
8.0.260.0070.00218.39
8.0.250.0030.00517.07
8.0.240.0030.00317.09
8.0.230.0030.00316.99
8.0.220.0070.00016.98
8.0.210.0070.00017.02
8.0.200.0030.00316.98
8.0.190.0030.00617.00
8.0.180.0060.00317.01
8.0.170.0040.00416.91
8.0.160.0070.00016.95
8.0.150.0000.00716.95
8.0.140.0070.00016.97
8.0.130.0030.00313.37
8.0.120.0040.00416.98
8.0.110.0030.00517.04
8.0.100.0050.00316.93
8.0.90.0080.00016.98
8.0.80.0080.01016.95
8.0.70.0030.00616.85
8.0.60.0000.00717.04
8.0.50.0000.00817.13
8.0.30.0040.01216.96
8.0.20.0110.01116.95
8.0.10.0150.01117.18
8.0.00.0140.00316.95
7.4.330.0000.00615.55
7.4.320.0030.00316.62
7.4.300.0000.00616.71
7.4.290.0040.00416.61
7.4.280.0030.00616.62
7.4.270.0040.00416.72
7.4.260.0060.00013.37
7.4.250.0080.00016.57
7.4.240.0010.00616.78
7.4.230.0030.00316.78
7.4.220.0020.00516.89
7.4.210.0050.01016.72
7.4.200.0070.00016.65
7.4.160.0130.00715.98
7.4.150.0270.00916.59
7.4.140.0190.00416.68
7.4.130.0060.01016.53
7.4.120.0100.00616.50
7.4.110.0000.01416.58
7.4.100.0060.00916.30
7.4.90.0130.00316.56
7.4.80.0090.00616.67
7.4.70.0090.00616.63
7.4.60.0060.00916.61
7.4.50.0090.00616.41
7.4.40.0090.00616.73
7.4.30.0150.00916.68
7.4.20.0150.00916.61
7.4.10.0100.00716.51
7.4.00.0120.00416.49
7.3.330.0070.00016.43
7.3.320.0030.00313.19
7.3.310.0070.00016.38
7.3.300.0040.00416.32
7.3.290.0020.00516.33
7.3.270.0060.01215.82
7.3.260.0030.01616.61
7.3.250.0120.00316.58
7.3.240.0090.00516.35
7.3.230.0000.01416.19
7.3.220.0060.00816.42
7.3.210.0090.00616.52
7.3.200.0120.00316.68
7.3.190.0090.00616.42
7.3.180.0110.00616.45
7.3.170.0040.01116.41
7.3.160.0040.01116.23
7.3.150.0070.01716.34
7.3.140.0030.01216.37
7.3.130.0040.01216.72
7.3.120.0090.00916.46
7.3.110.0060.00916.19
7.3.100.0060.00916.57
7.3.90.0090.00616.48
7.3.80.0000.01516.40
7.3.70.0100.00716.32
7.3.60.0040.01116.42
7.3.50.0050.01016.21
7.3.40.0140.00316.09
7.3.30.0100.00616.56
7.3.20.0090.00616.35
7.3.10.0110.00716.39
7.3.00.0130.00616.05

preferences:
33.09 ms | 403 KiB | 5 Q