3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{ function __toString(){ return stravl(23); } } (string)new 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.40.0120.00318.70
8.3.30.0090.00618.76
8.3.20.0070.01119.95
8.3.10.0150.00023.66
8.3.00.0030.00623.71
8.2.170.0120.00322.96
8.2.160.0100.00720.46
8.2.150.0150.00324.18
8.2.140.0080.00024.66
8.2.130.0110.00019.71
8.2.120.0000.00826.35
8.2.110.0070.00322.29
8.2.100.0060.00617.92
8.2.90.0050.00319.05
8.2.80.0080.00018.03
8.2.70.0080.00017.50
8.2.60.0030.00517.80
8.2.50.0060.00318.07
8.2.40.0030.00620.43
8.2.30.0070.00019.32
8.2.20.0050.00217.79
8.2.10.0000.00917.97
8.2.00.0040.00418.04
8.1.270.0060.00318.95
8.1.260.0140.00028.09
8.1.250.0060.00328.09
8.1.240.0030.00622.65
8.1.230.0040.00719.10
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0050.00318.52
8.1.160.0050.00320.70
8.1.150.0050.00218.86
8.1.140.0030.00619.48
8.1.130.0040.00417.58
8.1.120.0000.00717.35
8.1.110.0080.00017.28
8.1.100.0000.00717.41
8.1.90.0000.00717.38
8.1.80.0050.00317.27
8.1.70.0040.00417.36
8.1.60.0040.00417.54
8.1.50.0030.00617.35
8.1.40.0000.00817.42
8.1.30.0080.00017.53
8.1.20.0000.00717.42
8.1.10.0080.00017.55
8.1.00.0040.00417.49
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.50
8.0.270.0000.00717.25
8.0.260.0060.00017.22
8.0.250.0050.00216.99
8.0.240.0060.00316.99
8.0.230.0000.00717.00
8.0.220.0050.00216.82
8.0.210.0070.00016.93
8.0.200.0070.00017.00
8.0.190.0030.00616.97
8.0.180.0000.00716.80
8.0.170.0040.00416.99
8.0.160.0050.00316.97
8.0.150.0040.00416.82
8.0.140.0000.00716.82
8.0.130.0000.00713.45
8.0.120.0080.00016.86
8.0.110.0030.00616.79
8.0.100.0030.00516.80
8.0.90.0000.00816.97
8.0.80.0060.00916.98
8.0.70.0040.00416.94
8.0.60.0070.00016.72
8.0.50.0040.00416.84
8.0.30.0110.00716.98
8.0.20.0110.00817.40
8.0.10.0040.00416.92
8.0.00.0120.00616.91
7.4.330.0050.00016.81
7.4.320.0000.00616.48
7.4.300.0040.00416.48
7.4.290.0070.00016.53
7.4.280.0050.00316.42
7.4.270.0000.00716.43
7.4.260.0000.00716.44
7.4.250.0000.00816.41
7.4.240.0050.00216.53
7.4.230.0040.00416.63
7.4.220.0060.01216.61
7.4.210.0140.00616.51
7.4.200.0040.00416.60
7.4.160.0060.00916.36
7.4.150.0090.00917.40
7.4.140.0150.00317.86
7.4.130.0110.01116.57
7.4.120.0050.01216.39
7.4.110.0130.01016.34
7.4.100.0150.00316.55
7.4.90.0180.00016.43
7.4.80.0000.02019.39
7.4.70.0110.00816.46
7.4.60.0030.01316.39
7.4.50.0050.00916.43
7.4.40.0110.00616.63
7.4.30.0030.01316.67
7.4.00.0060.00914.80
7.3.330.0060.00013.36
7.3.320.0000.00513.21
7.3.310.0020.00516.25
7.3.300.0030.00316.43
7.3.290.0000.00716.31
7.3.280.0070.01216.34
7.3.270.0030.01417.40
7.3.260.0180.00416.34
7.3.250.0090.00816.40
7.3.240.0120.00616.43
7.3.230.0120.00416.55
7.3.210.0070.01016.46
7.3.200.0100.01019.39
7.3.190.0060.01516.34
7.3.180.0030.01716.33
7.3.170.0060.01316.49
7.3.160.0090.00616.56
7.2.330.0060.01116.52
7.2.320.0060.01616.52
7.2.310.0070.01116.45
7.2.300.0250.00316.57
7.2.290.0070.01016.28
7.2.60.0000.01516.91
7.2.00.0040.00819.18
7.1.200.0060.00615.59
7.1.100.0040.01117.94
7.1.70.0000.00816.65
7.1.60.0130.01319.27
7.1.50.0190.00416.90
7.1.00.0000.08022.40
7.0.200.0030.00316.53
7.0.60.0170.08321.81
7.0.50.0170.06717.93
7.0.40.0030.09020.02
7.0.30.0070.05020.13
7.0.20.0400.07720.10
7.0.10.0170.07720.20
7.0.00.0030.07720.10
5.6.210.0100.07720.55
5.6.200.0030.04018.19
5.6.190.0070.05720.67
5.6.180.0430.07320.33
5.6.170.0170.06320.59
5.6.160.0000.06020.39
5.6.150.0100.03318.27
5.6.140.0070.08018.28
5.6.130.0070.07318.15
5.6.120.0170.07721.04
5.6.110.0030.04020.96
5.6.100.0100.04321.13
5.6.90.0100.08020.97
5.6.80.0070.07720.39
5.5.350.0070.07320.45
5.5.340.0030.04318.05
5.5.330.0030.08020.38
5.5.320.0500.06020.32
5.5.310.0330.07020.30
5.5.300.0100.07318.07
5.5.290.0030.04018.08
5.5.280.0030.06720.80
5.5.270.0000.06320.84
5.5.260.0030.08720.88
5.5.250.0070.08020.66
5.5.240.0130.06720.27

preferences:
47.75 ms | 400 KiB | 5 Q