3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = M_PI; $b = 10 + sin($a); echo "Result: ", $b;

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.30.0060.00620.18
8.4.20.0200.01018.59
8.4.10.0070.00318.87
8.3.160.0120.00918.77
8.3.150.0130.00721.10
8.3.140.0110.00418.76
8.3.130.0220.00717.14
8.3.120.0160.00717.99
8.3.110.0190.00616.71
8.3.100.0180.00619.19
8.3.90.0220.00919.08
8.3.80.0230.00721.17
8.3.70.0250.00618.00
8.3.60.0240.00418.27
8.3.50.0190.00818.22
8.3.40.0180.00619.17
8.3.30.0190.00619.64
8.3.20.0140.00922.71
8.3.10.0140.00621.86
8.3.00.0120.00720.61
8.2.270.0130.00818.50
8.2.260.0170.00016.70
8.2.250.0170.00317.24
8.2.240.0180.00716.86
8.2.230.0170.00617.46
8.2.220.0220.00418.06
8.2.210.0160.00718.84
8.2.200.0210.00317.97
8.2.190.0200.00617.93
8.2.180.0240.00517.80
8.2.170.0210.00719.50
8.2.160.0220.00520.27
8.2.150.0180.00720.86
8.2.140.0170.00620.84
8.2.130.0160.00620.29
8.2.120.0130.00620.17
8.2.110.0140.00620.22
8.2.100.0130.00519.23
8.2.90.0170.00419.93
8.2.80.0130.00719.81
8.2.70.0150.00523.07
8.2.60.0160.00423.04
8.2.50.0120.00621.83
8.2.40.0130.00622.81
8.2.30.0130.00622.41
8.2.20.0120.00622.31
8.2.10.0130.00622.34
8.2.00.0110.00722.39
8.1.310.0090.00516.75
8.1.300.0210.00416.78
8.1.290.0130.00719.92
8.1.280.0180.00619.20
8.1.270.0130.00421.87
8.1.260.0120.00620.93
8.1.250.0120.00720.70
8.1.240.0130.00619.50
8.1.230.0130.00519.59
8.1.220.0130.00519.72
8.1.210.0130.00519.51
8.1.200.0130.00522.83
8.1.190.0120.00622.99
8.1.180.0140.00522.31
8.1.170.0130.00522.76
8.1.160.0130.00422.20
8.1.150.0140.00522.24
8.1.140.0150.00422.25
8.1.130.0110.00622.26
8.1.120.0130.00422.25
8.1.110.0130.00522.26
8.1.100.0120.00621.77
8.1.90.0120.00621.78
8.1.80.0140.00522.06
8.1.70.0110.00621.75
8.1.60.0120.00622.27
8.1.50.0120.00622.17
8.1.40.0140.00422.19
8.1.30.0110.00621.14
8.1.20.0140.00522.06
8.1.10.0130.00521.94
8.1.00.0110.00721.77
8.0.300.0150.00219.43
8.0.290.0160.00522.43
8.0.280.0160.00421.84
8.0.270.0130.00521.79
8.0.260.0140.00521.71
8.0.250.0140.00521.83
8.0.240.0140.00721.89
8.0.230.0140.00621.19
8.0.220.0150.00421.44
8.0.210.0150.00521.54
8.0.200.0160.00521.65
8.0.190.0150.00521.57
8.0.180.0130.00621.57
8.0.170.0160.00621.45
8.0.160.0130.00521.13
8.0.150.0140.00621.45
8.0.140.0160.00521.29
8.0.130.0140.00521.20
8.0.120.0160.00521.34
8.0.110.0150.00521.33
8.0.100.0150.00521.39
8.0.90.0180.00421.38
8.0.80.0150.00521.31
8.0.70.0120.00721.38
8.0.60.0130.00821.34
8.0.50.0170.00421.29
8.0.30.0150.00520.96
8.0.20.0140.00520.93
8.0.10.0160.00621.05
8.0.00.0130.00720.37
7.4.330.0150.00420.30
7.4.320.0190.00321.54
7.4.300.0160.00721.24
7.4.290.0170.00521.12
7.4.280.0140.00520.04
7.4.270.0160.00620.97
7.4.260.0160.00620.96
7.4.250.0170.00521.06
7.4.240.0170.00621.09
7.4.230.0190.00421.02
7.4.220.0160.00520.90
7.4.210.0160.00520.80
7.4.200.0160.00521.08
7.4.190.0150.00621.25
7.4.180.0170.00521.30
7.4.160.0190.00420.96
7.4.150.0160.00620.77
7.4.140.0170.00620.44
7.4.130.0170.00619.58
7.4.120.0160.00619.76
7.4.110.0160.00619.85
7.4.100.0160.00719.73
7.4.90.0150.00619.67
7.4.80.0150.00619.72
7.4.70.0150.00519.63
7.4.60.0150.00519.77
7.4.50.0150.00619.78
7.4.40.0160.00619.73
7.4.30.0150.00719.78
7.4.20.0150.00619.78
7.4.10.0150.00619.79
7.4.00.0140.00719.77
7.3.330.0170.00520.85
7.3.320.0160.00520.81
7.3.310.0170.00520.96
7.3.300.0150.00621.12
7.3.290.0170.00620.53
7.3.280.0170.00521.04
7.3.270.0170.00420.79
7.3.260.0140.00720.19
7.3.250.0140.00719.66
7.3.240.0150.00619.66
7.3.230.0150.00619.64
7.3.220.0140.00819.66
7.3.210.0160.00519.69
7.3.200.0170.00519.58
7.3.190.0160.00619.71
7.3.180.0170.00519.66
7.3.170.0170.00519.67
7.3.160.0160.00619.65
7.3.150.0160.00719.65
7.3.140.0150.00719.68
7.3.130.0160.00619.61
7.3.120.0160.00519.62
7.3.110.0150.00519.67
7.3.100.0150.00619.58
7.3.90.0150.00619.72
7.3.80.0150.00519.57
7.3.70.0150.00519.71
7.3.60.0150.00619.75
7.3.50.0150.00619.73
7.3.40.0150.00719.75
7.3.30.0160.00619.69
7.3.20.0190.00520.42
7.3.10.0150.00720.42
7.3.00.0180.00620.44

preferences:
31.29 ms | 403 KiB | 5 Q