3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip_address = $_SERVER['HTTP_CLIENT_IP']; } - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR ?>

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)
5.4.320.3030.03719.13
5.4.310.2770.03718.95
5.4.300.3930.04018.95
5.4.290.3870.02719.24
5.4.280.3500.03319.22
5.4.270.3930.03019.17
5.4.260.3430.04019.24
5.4.250.3530.04318.94
5.4.240.3570.02719.22
5.4.230.3800.03319.14
5.4.220.3900.03318.87
5.4.210.4100.04019.19
5.4.200.3600.03019.09
5.4.190.3700.04018.98
5.4.180.3930.03018.98
5.4.170.3700.03719.12
5.4.160.3200.04019.06
5.4.150.3800.03718.97
5.4.140.3900.03716.39
5.4.130.3800.03716.45
5.4.120.3900.04016.35
5.4.110.3530.03316.61
5.4.100.4030.03016.55
5.4.90.3730.03316.28
5.4.80.3430.03016.25
5.4.70.4130.04016.39
5.4.60.3500.03716.24
5.4.50.3870.03316.54
5.4.40.3270.02716.54
5.4.30.3270.03316.34
5.4.20.3600.03316.42
5.4.10.4100.03716.53
5.4.00.4070.05016.16
5.3.290.3030.03714.61
5.3.280.4030.05714.44
5.3.270.3300.03714.63
5.3.260.4170.03714.51
5.3.250.4930.03314.59
5.3.240.3530.03714.45
5.3.230.3970.03714.54
5.3.220.3470.03314.60
5.3.210.3900.03314.41
5.3.200.3870.03314.59
5.3.190.4470.04014.41
5.3.180.5170.04314.59
5.3.170.4370.03714.51
5.3.160.3730.05314.65
5.3.150.3470.03314.61
5.3.140.3270.03014.50
5.3.130.3600.03014.39
5.3.120.3270.03714.40
5.3.110.4030.03714.64
5.3.100.4230.03013.88
5.3.90.3300.03014.00
5.3.80.4200.03014.11
5.3.70.3770.03013.86
5.3.60.4570.03713.80
5.3.50.3300.03713.89
5.3.40.4330.02313.80
5.3.30.3770.04313.93
5.3.20.4200.03713.64
5.3.10.3170.04013.46
5.3.00.3330.04013.58
5.2.170.3730.03010.98
5.2.160.2730.03311.05
5.2.150.3500.03710.99
5.2.140.3170.03010.98
5.2.130.2830.03010.99
5.2.120.3330.03310.96
5.2.110.2330.03011.03
5.2.100.3070.03010.94
5.2.90.2370.03011.11
5.2.80.3000.03011.11
5.2.70.2970.03011.05
5.2.60.3130.02710.91
5.2.50.2670.03011.06
5.2.40.2030.03010.84
5.2.30.1870.03310.82
5.2.20.2670.03010.79
5.2.10.2030.02710.77
5.2.00.3170.02010.64
5.1.60.3100.02310.05
5.1.50.2330.02710.04
5.1.40.2570.01710.03
5.1.30.2730.03010.31
5.1.20.3200.03010.35
5.1.10.2270.0279.93
5.1.00.3030.02310.23
5.0.50.1470.0239.66
5.0.40.1530.0239.66
5.0.30.1630.0379.66
5.0.20.1670.0209.66
5.0.10.1570.0209.66
5.0.00.1530.0339.66
4.4.90.1170.0179.66
4.4.80.1470.0109.66
4.4.70.0970.0209.66
4.4.60.1770.0139.66
4.4.50.1700.0139.66
4.4.40.1330.0309.66
4.4.30.0730.0139.66
4.4.20.1430.0209.66
4.4.10.1330.0179.66
4.4.00.0930.0279.66
4.3.110.1400.0209.66
4.3.100.1600.0139.66
4.3.90.1370.0179.66
4.3.80.1270.0239.66
4.3.70.1470.0109.66
4.3.60.1700.0179.66
4.3.50.1730.0179.66
4.3.40.1400.0309.66
4.3.30.0970.0239.66
4.3.20.0900.0209.66
4.3.10.0000.0339.66
4.3.00.0930.0239.66

preferences:
140.5 ms | 1394 KiB | 7 Q