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.3.130.0220.00717.73
8.3.120.0170.00918.14
8.3.110.0260.00416.79
8.3.100.0220.00720.35
8.3.90.0240.01019.86
8.3.80.0250.00822.66
8.3.70.0290.00718.57
8.3.60.0260.00619.01
8.3.50.0190.00918.88
8.3.40.0190.00819.87
8.3.30.0210.00720.23
8.3.20.0140.00923.28
8.3.10.0140.00722.54
8.3.00.0130.00720.98
8.2.250.0170.00717.64
8.2.240.0200.00917.05
8.2.230.0210.00618.00
8.2.220.0280.00319.05
8.2.210.0170.00719.29
8.2.200.0230.00318.65
8.2.190.0230.00618.57
8.2.180.0290.00618.39
8.2.170.0250.00720.14
8.2.160.0240.00620.94
8.2.150.0190.00721.50
8.2.140.0190.00521.50
8.2.130.0160.00620.71
8.2.120.0130.00620.55
8.2.110.0140.00620.57
8.2.100.0130.00519.33
8.2.90.0170.00520.23
8.2.80.0130.00820.12
8.2.70.0150.00523.75
8.2.60.0160.00423.73
8.2.50.0120.00622.15
8.2.40.0130.00623.37
8.2.30.0130.00622.87
8.2.20.0110.00722.77
8.2.10.0130.00622.80
8.2.00.0110.00722.87
8.1.300.0240.00617.06
8.1.290.0160.00721.85
8.1.280.0210.00720.61
8.1.270.0120.00522.50
8.1.260.0120.00621.42
8.1.250.0110.00721.21
8.1.240.0120.00719.83
8.1.230.0130.00619.82
8.1.220.0130.00520.01
8.1.210.0120.00619.96
8.1.200.0130.00523.52
8.1.190.0120.00623.60
8.1.180.0150.00522.82
8.1.170.0130.00523.36
8.1.160.0130.00422.70
8.1.150.0140.00522.74
8.1.140.0150.00422.65
8.1.130.0110.00622.76
8.1.120.0130.00422.74
8.1.110.0130.00622.75
8.1.100.0120.00622.15
8.1.90.0120.00622.17
8.1.80.0140.00522.52
8.1.70.0120.00622.15
8.1.60.0120.00622.73
8.1.50.0120.00622.61
8.1.40.0140.00522.64
8.1.30.0110.00621.41
8.1.20.0140.00622.46
8.1.10.0130.00522.33
8.1.00.0110.00722.18
8.0.300.0150.00219.79
8.0.290.0160.00623.15
8.0.280.0160.00522.34
8.0.270.0130.00522.30
8.0.260.0140.00522.20
8.0.250.0140.00522.34
8.0.240.0140.00722.40
8.0.230.0140.00621.50
8.0.220.0150.00421.89
8.0.210.0160.00522.01
8.0.200.0160.00522.11
8.0.190.0150.00622.04
8.0.180.0130.00622.04
8.0.170.0160.00621.89
8.0.160.0130.00521.50
8.0.150.0140.00621.79
8.0.140.0170.00521.69
8.0.130.0150.00621.61
8.0.120.0160.00521.76
8.0.110.0150.00521.75
8.0.100.0150.00521.83
8.0.90.0180.00421.73
8.0.80.0150.00521.71
8.0.70.0120.00721.80
8.0.60.0130.00821.77
8.0.50.0180.00421.69
8.0.30.0150.00521.30
8.0.20.0140.00621.26
8.0.10.0160.00621.31
8.0.00.0130.00720.59
7.4.330.0150.00420.64
7.4.320.0200.00322.04
7.4.300.0170.00721.70
7.4.290.0170.00521.45
7.4.280.0140.00520.28
7.4.270.0160.00621.42
7.4.260.0160.00721.38
7.4.250.0180.00521.49
7.4.240.0170.00621.51
7.4.230.0190.00421.44
7.4.220.0160.00521.30
7.4.210.0170.00521.18
7.4.200.0160.00521.51
7.4.190.0150.00621.71
7.4.180.0170.00521.74
7.4.160.0190.00321.37
7.4.150.0160.00721.15
7.4.140.0170.00620.76
7.4.130.0170.00619.79
7.4.120.0160.00619.98
7.4.110.0160.00720.07
7.4.100.0170.00719.94
7.4.90.0150.00719.89
7.4.80.0150.00719.95
7.4.70.0160.00619.82
7.4.60.0150.00520.00
7.4.50.0150.00620.00
7.4.40.0170.00719.96
7.4.30.0150.00820.01
7.4.20.0150.00620.01
7.4.10.0150.00620.00
7.4.00.0140.00719.98
7.3.330.0170.00621.27
7.3.320.0170.00621.23
7.3.310.0170.00521.39
7.3.300.0160.00521.56
7.3.290.0170.00620.91
7.3.280.0180.00521.49
7.3.270.0180.00421.19
7.3.260.0150.00720.50
7.3.250.0140.00819.88
7.3.240.0160.00619.88
7.3.230.0150.00719.87
7.3.220.0140.00819.89
7.3.210.0160.00619.91
7.3.200.0180.00519.81
7.3.190.0160.00619.88
7.3.180.0170.00519.89
7.3.170.0170.00619.91
7.3.160.0170.00619.88
7.3.150.0160.00719.88
7.3.140.0150.00719.85
7.3.130.0160.00619.84
7.3.120.0160.00519.86
7.3.110.0150.00619.91
7.3.100.0150.00619.81
7.3.90.0150.00619.94
7.3.80.0150.00519.80
7.3.70.0150.00519.94
7.3.60.0160.00619.97
7.3.50.0160.00619.96
7.3.40.0150.00719.96
7.3.30.0170.00619.91
7.3.20.0200.00520.57
7.3.10.0150.00720.58
7.3.00.0180.00620.58

preferences:
33.74 ms | 403 KiB | 5 Q