3v4l.org

run code in 300+ PHP versions simultaneously
<?php $PlaceId = 18924269; if($PlaceId=="" or $PlaceId==nil){ die(); } $PlaceURL = "http://www.roblox.com/zmidnightapi-place?id=" . $PlaceId; $PlaceContent = file_get_contents($PlaceURL); $Start = strpos($PlaceContent, "Favorited:</span><span class=\"stat\">") + strlen("Favorited:</span><span class=\"stat\">"); $End = strpos($PlaceContent, "</span>", $Start); $TABLE = array( FavoritesStandard => substr($PlaceContent, $Start, $End - $Start), FavoritesInt => str_replace(',','',substr($PlaceContent, $Start, $End - $Start)), ) echo json_encode($TABLE); ?>

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.260.4430.03319.24
5.4.250.3530.04018.97
5.4.240.3530.03319.08
5.4.230.3700.03719.23
5.4.220.3800.03719.13
5.4.210.4270.04319.14
5.4.200.3430.03719.19
5.4.190.3570.03019.14
5.4.180.3430.03719.05
5.4.170.3530.02719.30
5.4.160.3000.03019.04
5.4.150.3630.05018.93
5.4.140.3170.03716.47
5.4.130.3670.03316.32
5.4.120.3670.03716.28
5.4.110.3330.04016.55
5.4.100.2430.03716.45
5.4.90.3630.04016.35
5.4.80.3630.03316.50
5.4.70.3730.03716.39
5.4.60.3700.03716.39
5.4.50.3830.03716.51
5.4.40.3430.04016.23
5.4.30.3700.03316.42
5.4.20.3700.03316.44
5.4.10.3900.03316.56
5.4.00.3630.03715.96
5.3.280.3770.04314.47
5.3.270.3200.03714.45
5.3.260.3370.04014.67
5.3.250.3400.04014.45
5.3.240.3670.04314.54
5.3.230.3700.03714.55
5.3.220.3570.04014.61
5.3.210.3630.03314.52
5.3.200.3370.04014.51
5.3.190.3670.04014.41
5.3.180.3230.03714.48
5.3.170.3270.03714.52
5.3.160.3530.03714.59
5.3.150.3600.04014.41
5.3.140.3330.04714.41
5.3.130.3730.03714.50
5.3.120.3470.04014.39
5.3.110.3370.04314.50
5.3.100.3600.04313.88
5.3.90.4030.03714.05
5.3.80.3600.03713.97
5.3.70.4400.03313.97
5.3.60.3970.04313.84
5.3.50.4470.03714.01
5.3.40.4170.03313.73
5.3.30.3500.03013.82
5.3.20.3730.04013.72
5.3.10.3500.03013.75
5.3.00.3500.03313.63
5.2.170.3530.03311.20
5.2.160.4730.02711.19
5.2.150.2870.03011.03
5.2.140.2970.03011.00
5.2.130.2870.03011.04
5.2.120.3100.02311.26
5.2.110.3170.02711.01
5.2.100.3330.02710.96
5.2.90.3270.02710.95
5.2.80.3600.03011.19
5.2.70.3430.02310.93
5.2.60.3370.02710.90
5.2.50.3300.03311.06
5.2.40.2400.03710.86
5.2.30.2530.02311.13
5.2.20.0970.03010.90
5.2.10.2470.02710.96
5.2.00.2270.03010.88
5.1.60.2630.02010.59
5.1.50.3500.01710.59
5.1.40.2300.02010.59
5.1.30.2100.02010.59
5.1.20.2830.03310.59
5.1.10.3000.02710.59
5.1.00.2670.02710.59
5.0.50.1100.02310.59
5.0.40.1270.02010.59
5.0.30.1570.03010.59
5.0.20.1470.02010.59
5.0.10.1200.01710.59
5.0.00.1330.02710.59
4.4.90.1330.01310.59
4.4.80.1600.01310.59
4.4.70.1200.01710.59
4.4.60.1170.01710.59
4.4.50.1430.02010.59
4.4.40.1100.02710.59
4.4.30.1130.01710.59
4.4.20.1630.01310.59
4.4.10.1330.01310.59
4.4.00.1170.02310.59
4.3.110.1530.01710.59
4.3.100.1470.01310.59
4.3.90.1500.01710.59
4.3.80.0970.02710.59
4.3.70.1500.01710.59
4.3.60.1170.01310.59
4.3.50.1470.01310.59
4.3.40.1570.02310.59
4.3.30.0700.01710.59
4.3.20.0730.01310.59
4.3.10.0730.01310.59
4.3.00.0730.01310.59

preferences:
140.54 ms | 1394 KiB | 7 Q