3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'test <= <= test'; $test = str_replace('<','-',$test); var_dump($test);

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.0070.00717.95
8.3.40.0110.00418.32
8.3.30.0060.00918.54
8.3.20.0000.00818.89
8.3.10.0000.00823.70
8.3.00.0070.00023.52
8.2.180.0070.01016.38
8.2.170.0120.00922.96
8.2.160.0110.00419.22
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00022.27
8.2.120.0070.00026.35
8.2.110.0100.00019.09
8.2.100.0080.00318.90
8.2.90.0030.00517.63
8.2.80.0030.00918.61
8.2.70.0000.00917.50
8.2.60.0040.00417.50
8.2.50.0000.00917.55
8.2.40.0080.00017.75
8.2.30.0040.00417.69
8.2.20.0000.00717.89
8.2.10.0000.00817.92
8.2.00.0040.00419.42
8.1.280.0160.00325.92
8.1.270.0070.00020.25
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00320.94
8.1.230.0110.00020.73
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.40
8.1.180.0050.00318.10
8.1.170.0030.00517.63
8.1.160.0040.00418.78
8.1.150.0040.00418.91
8.1.140.0040.00417.52
8.1.130.0030.00318.99
8.1.120.0000.00717.43
8.1.110.0000.00817.36
8.1.100.0040.00417.36
8.1.90.0050.00217.43
8.1.80.0000.00817.27
8.1.70.0040.00717.27
8.1.60.0050.00317.39
8.1.50.0030.00517.33
8.1.40.0000.00817.44
8.1.30.0040.00417.53
8.1.20.0090.00017.57
8.1.10.0000.00817.45
8.1.00.0040.00417.26
8.0.300.0050.00318.77
8.0.290.0080.00016.63
8.0.280.0000.00817.92
8.0.270.0000.00717.93
8.0.260.0030.00317.26
8.0.250.0030.00316.85
8.0.240.0000.00916.77
8.0.230.0030.00616.86
8.0.220.0070.00016.75
8.0.210.0040.00416.77
8.0.200.0040.00416.89
8.0.190.0040.00416.88
8.0.180.0040.00416.81
8.0.170.0050.00316.84
8.0.160.0000.00716.89
8.0.150.0020.00516.80
8.0.140.0030.00316.77
8.0.130.0030.00313.30
8.0.120.0000.00716.68
8.0.110.0000.00716.79
8.0.100.0040.00416.77
8.0.90.0070.00016.87
8.0.80.0070.00816.77
8.0.70.0040.00416.86
8.0.60.0000.00816.66
8.0.50.0070.00016.69
8.0.30.0140.00516.89
8.0.20.0080.01217.40
8.0.10.0000.00717.00
8.0.00.0120.00916.59
7.4.330.0000.00515.55
7.4.320.0000.00616.53
7.4.300.0030.00316.37
7.4.290.0030.00316.46
7.4.280.0000.00816.40
7.4.270.0080.00016.43
7.4.260.0080.00016.43
7.4.250.0000.00716.40
7.4.240.0030.00516.32
7.4.230.0030.00316.42
7.4.220.0030.00616.43
7.4.210.0090.01016.53
7.4.200.0070.00016.62
7.4.160.0120.00416.35
7.4.140.0100.00917.86
7.4.130.0140.00316.54
7.4.120.0090.00916.45
7.4.110.0060.01216.39
7.4.100.0110.00616.48
7.4.90.0120.00916.48
7.4.80.0100.01019.39
7.4.70.0100.00616.36
7.4.60.0030.01216.34
7.4.50.0070.00716.27
7.4.40.0090.00916.46
7.4.00.0070.01014.72
7.3.330.0000.00513.05
7.3.320.0000.00612.88
7.3.310.0000.00715.97
7.3.300.0060.00016.18
7.3.290.0030.00316.15
7.3.280.0090.00616.18
7.3.260.0100.00916.21
7.3.240.0130.00616.29
7.3.230.0070.01016.30
7.3.210.0040.01316.38
7.3.200.0130.00316.25
7.3.190.0100.01016.31
7.3.180.0110.00416.51
7.3.170.0090.00816.19
7.3.160.0040.01216.23
7.2.330.0190.00316.74
7.2.320.0120.00416.33
7.2.310.0100.00716.54
7.2.300.0160.00716.50
7.2.290.0140.00716.27
7.2.70.1260.00715.09
7.2.60.0300.01014.73
7.2.50.0210.00914.62
7.2.40.0290.00314.57
7.2.30.0240.00714.58
7.2.20.0220.00914.80
7.2.10.0240.00614.55
7.2.00.0250.00415.04
7.1.200.0030.00815.70
7.1.170.0290.00313.69
7.1.160.0260.00313.79
7.1.150.0270.00313.71
7.1.140.0220.00713.69
7.1.130.0210.01013.61
7.1.120.0260.00313.81
7.1.110.0260.00313.83
7.1.100.0170.01113.65
7.1.90.0160.01313.88
7.1.80.0240.00313.90
7.1.70.0230.00713.72
7.1.60.0420.00731.60
7.1.50.0480.00032.06
7.1.40.0400.01031.85
7.1.30.0450.00731.93
7.1.20.0440.00731.76
7.1.10.0300.00013.95
7.1.00.0220.00713.92

preferences:
64.1 ms | 400 KiB | 5 Q