3v4l.org

run code in 300+ PHP versions simultaneously
<?php // index.php define('NAME', 'Yoshi'); $age = 30; ?> <!DOCTYPE html> <html> <head> <title> my PHP </title> </head> <body> <h1>Something here</h1> <div><?php echo NAME; ?></div> <div><?php echo $age; ?></div> </body> </html>

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.10.0120.00818.46
8.5.00.0130.00919.72
8.4.150.0010.00114.05
8.4.140.0130.01017.77
8.4.130.0100.00918.98
8.4.120.0110.00823.87
8.4.110.0140.00620.44
8.4.100.0170.00417.70
8.4.90.0110.00818.55
8.4.80.0060.00317.54
8.4.70.0160.00417.95
8.4.60.0240.00818.14
8.4.50.0250.01118.36
8.4.40.0250.00918.49
8.4.30.0250.00619.88
8.4.20.0220.01519.01
8.4.10.0170.00918.40
8.3.280.0110.01120.18
8.3.270.0120.00716.48
8.3.260.0060.00516.73
8.3.250.0090.00918.64
8.3.240.0060.00217.41
8.3.230.0110.00516.66
8.3.220.0080.01016.97
8.3.210.0120.00716.65
8.3.200.0200.00916.55
8.3.190.0260.00616.70
8.3.180.0210.00916.24
8.3.170.0180.01117.75
8.3.160.0210.01017.54
8.3.150.0240.01218.50
8.3.140.0210.00716.80
8.3.130.0210.00517.40
8.3.120.0180.01217.68
8.3.110.0200.00617.41
8.3.100.0210.00616.46
8.3.90.0250.00716.47
8.3.80.0210.00717.59
8.3.70.0220.00816.43
8.3.60.0230.00817.45
8.3.50.0210.00920.15
8.3.40.0200.01418.00
8.3.30.0210.00517.93
8.3.20.0160.00719.00
8.3.10.0190.00418.83
8.3.00.0200.00620.45
8.2.290.0070.01120.57
8.2.280.0230.00517.54
8.2.270.0200.00916.57
8.2.260.0210.00617.43
8.2.250.0190.00616.56
8.2.240.0190.00616.74
8.2.230.0160.00818.71
8.2.220.0190.00620.15
8.2.210.0170.00621.61
8.2.200.0200.00417.42
8.2.190.0220.00516.49
8.2.180.0210.01017.45
8.2.170.0230.00320.29
8.2.160.0200.00819.84
8.2.150.0230.00620.93
8.2.140.0220.00321.05
8.2.130.0190.00521.82
8.2.120.0200.00521.86
8.2.110.0170.00719.33
8.2.100.0210.00617.56
8.2.90.0200.00617.76
8.2.80.0170.00717.65
8.2.70.0180.00817.46
8.2.60.0190.00617.44
8.2.50.0200.00617.79
8.2.40.0280.00218.47
8.2.30.0150.00818.29
8.2.20.0140.01017.61
8.2.10.0180.00718.07
8.2.00.0170.00818.35
8.1.330.0070.01121.82
8.1.320.0220.00916.12
8.1.310.0200.00716.59
8.1.300.0170.00716.92
8.1.290.0190.00517.54
8.1.280.0210.00821.06
8.1.270.0190.00820.68
8.1.260.0160.00721.77
8.1.250.0160.00522.65
8.1.240.0190.00920.47
8.1.230.0170.00819.09
8.1.220.0170.00617.50
8.1.210.0170.00617.90
8.1.200.0160.00717.18
8.1.190.0210.00317.18
8.1.180.0160.00717.58
8.1.170.0170.00417.84
8.1.160.0110.00518.10
8.1.150.0160.00718.12
8.1.140.0180.00417.94
8.1.130.0140.00818.58
8.1.120.0170.00517.28
8.1.110.0150.00817.15
8.1.100.0140.00817.28
8.1.90.0190.00517.24
8.1.80.0120.00417.34
8.1.70.0080.00417.42
8.1.60.0090.00617.45
8.1.50.0220.00417.41
8.1.40.0150.00717.51
8.1.30.0110.00517.62
8.1.20.0140.00417.38
8.1.10.0100.01017.39
8.1.00.0170.00717.33
8.0.300.0170.00518.33
8.0.290.0170.00716.70
8.0.280.0120.00817.50
8.0.270.0160.00616.63
8.0.260.0170.00618.40
8.0.250.0170.00616.79
8.0.240.0150.00716.85
8.0.230.0190.00516.76
8.0.220.0180.00516.66
8.0.210.0160.00816.59
8.0.200.0160.00716.71
8.0.190.0180.00716.74
8.0.180.0140.00716.81
8.0.170.0180.00516.86
8.0.160.0140.00616.78
8.0.150.0180.00516.79
8.0.140.0140.00816.75
8.0.130.0180.00514.97
8.0.120.0180.00616.62
8.0.110.0180.00316.79
8.0.100.0150.00916.57
8.0.90.0180.00616.63
8.0.80.0280.00416.60
8.0.70.0160.00916.66
8.0.60.0170.00716.69
8.0.50.0170.00816.69
8.0.30.0120.01016.84
8.0.20.0100.00816.72
8.0.10.0190.00316.87
8.0.00.0140.01216.83
7.4.330.0150.00516.01
7.4.320.0160.00416.40
7.4.300.0140.00616.42
7.4.290.0150.00616.34
7.4.280.0150.00616.33
7.4.270.0140.00716.32
7.4.260.0140.01016.40
7.4.250.0130.00816.36
7.4.240.0130.00416.39
7.4.230.0170.00516.45
7.4.220.0140.00516.36
7.4.210.0130.00916.43
7.4.200.0170.00516.46
7.4.190.0240.00316.43
7.4.180.0300.00816.30
7.4.160.0250.00716.48
7.4.150.0230.00916.27
7.4.140.0270.00716.20
7.4.130.0230.00616.29
7.4.120.0210.00616.39
7.4.110.0150.01016.43
7.4.100.0170.00816.37
7.4.90.0180.00816.35
7.4.80.0200.00617.81
7.4.70.0190.01016.39
7.4.60.0230.00516.30
7.4.50.0200.01016.29
7.4.40.0200.00716.33
7.4.30.0230.01216.20
7.4.20.0330.00516.20
7.4.10.0270.00816.40
7.4.00.0170.00815.51
7.3.330.0160.00514.57
7.3.320.0150.00514.65
7.3.310.0140.00816.10
7.3.300.0170.00416.18
7.3.290.0170.00316.12
7.3.280.0180.00716.14
7.3.270.0290.00416.20
7.3.260.0130.00816.32
7.3.250.0270.00616.20
7.3.240.0150.00816.39
7.3.230.0180.00716.14
7.3.220.0290.00616.20
7.3.210.0120.01416.38
7.3.200.0180.01016.21
7.3.190.0180.01016.30
7.3.180.0160.01016.39
7.3.170.0160.00816.37
7.3.160.0180.00916.30
7.3.150.0280.00716.20
7.3.140.0270.00816.20
7.3.130.0320.00916.20
7.3.120.0230.00816.20
7.3.110.0260.00816.20
7.3.100.0250.00816.20
7.3.90.0240.01316.21
7.3.80.0300.00716.20
7.3.70.0250.00816.20
7.3.60.0150.00615.13
7.3.50.0150.01015.29
7.3.40.0160.00615.20
7.3.30.0130.00815.11
7.3.20.0140.00716.43
7.3.10.0140.00916.47
7.3.00.0090.01116.45
7.2.340.0120.00416.20
7.2.330.0100.00916.52
7.2.320.0100.00816.28
7.2.310.0100.01116.33
7.2.300.0140.00916.26
7.2.290.0170.00916.39
7.2.280.0280.00616.20
7.2.270.0270.00716.20
7.2.260.0170.01216.20
7.2.250.0270.00716.20
7.2.240.0280.00616.20
7.2.230.0270.00816.32
7.2.220.0190.00716.20
7.2.210.0110.00516.20
7.2.200.0130.00316.28
7.2.190.0150.00515.22
7.2.180.0120.00615.26
7.2.170.0120.00815.34
7.2.160.0150.00315.14
7.2.150.0100.00716.54
7.2.140.0180.00616.59
7.2.130.0130.00916.50
7.2.120.0160.01216.55
7.2.110.0110.01216.58
7.2.100.0150.00516.42
7.2.90.0160.00916.63
7.2.80.0170.00916.57
7.2.70.0130.00816.55
7.2.60.0100.00916.51
7.2.50.0120.00516.56
7.2.40.0120.00616.54
7.2.30.0110.00416.58
7.2.20.0110.00616.64
7.2.10.0100.00716.62
7.2.00.0110.00616.60
7.1.330.0160.00116.20
7.1.320.0150.00216.20
7.1.310.0140.00416.20
7.1.300.0090.00315.90
7.1.290.0100.00515.75
7.1.280.0090.00515.93
7.1.270.0110.00615.93
7.1.260.0090.00715.76
7.1.250.0090.00815.93
7.1.240.0160.00116.20
7.1.230.0140.00316.20
7.1.220.0110.00516.20
7.1.210.0540.00716.20
7.1.200.0130.00316.20
7.1.190.0140.00416.20
7.1.180.0140.00216.20
7.1.170.0180.00116.20
7.1.160.0140.00316.20
7.1.150.0120.00516.20
7.1.140.0140.00316.20
7.1.130.0110.00516.20
7.1.120.0120.00416.20
7.1.110.0140.00216.20
7.1.100.0160.00116.20
7.1.90.0120.00516.20
7.1.80.0180.00416.20
7.1.70.0130.00216.20
7.1.60.0130.00516.20
7.1.50.0130.01116.20
7.1.40.0130.00316.20
7.1.30.0190.00916.20
7.1.20.0200.00616.20
7.1.10.0200.00616.20
7.1.00.0200.00216.20

preferences:
16.76 ms | 403 KiB | 5 Q