3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo getTargetUrl("https://api.32r.com/jump.php?target=https://www.wanmei.com/safestatic/privacy.html"); function getTargetUrl($str){ $parts = explode('?target=', $str); if (!empty($parts['1'])){ return $parts['1']; } return $str; }

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.130.0110.00917.54
8.4.120.0070.00220.71
8.4.110.0130.00722.66
8.4.100.0050.00317.69
8.4.90.0110.00917.68
8.4.80.0120.00817.73
8.4.70.0110.00817.77
8.4.60.0090.01217.67
8.4.50.0150.00417.80
8.4.40.0160.00317.80
8.4.30.0060.00318.74
8.4.20.0130.00617.75
8.4.10.0030.00519.48
8.3.260.0100.01016.50
8.3.250.0110.00818.98
8.3.240.0110.00816.48
8.3.230.0100.00616.61
8.3.220.0090.00917.16
8.3.210.0120.00816.50
8.3.200.0100.00916.51
8.3.190.0080.00416.83
8.3.180.0110.00717.15
8.3.170.0120.00620.90
8.3.160.0090.00917.04
8.3.150.0140.00417.10
8.3.140.0060.00320.73
8.3.130.0080.00018.47
8.3.120.0090.00020.66
8.3.110.0090.00020.94
8.3.100.0000.00916.64
8.3.90.0080.00026.77
8.3.80.0060.00618.43
8.3.70.0120.00618.52
8.3.60.0110.01118.38
8.3.50.0090.00916.56
8.3.40.0100.01023.79
8.3.30.0070.00720.07
8.3.20.0000.00824.18
8.3.10.0070.01121.85
8.3.00.0150.00318.86
8.2.290.0110.00820.39
8.2.280.0050.00420.09
8.2.270.0140.00418.98
8.2.260.0140.00419.04
8.2.250.0040.00418.69
8.2.240.0160.00316.94
8.2.230.0060.00322.58
8.2.220.0080.00824.06
8.2.210.0050.00326.77
8.2.200.0060.00316.50
8.2.190.0110.00418.55
8.2.180.0160.00316.63
8.2.170.0220.00318.91
8.2.160.0140.00022.96
8.2.150.0000.00824.18
8.2.140.0070.01120.38
8.2.130.0180.00020.35
8.2.120.0110.00819.15
8.2.110.0180.00319.28
8.2.100.0070.00718.77
8.2.90.0200.00018.78
8.2.80.0090.00618.91
8.2.70.0100.01018.65
8.2.60.0060.01018.84
8.2.50.0070.01318.95
8.2.40.0100.00618.95
8.2.30.0040.00418.88
8.2.20.0080.00018.82
8.2.10.0050.00318.78
8.2.00.0030.00618.62
8.1.330.0140.00516.75
8.1.320.0100.00816.04
8.1.310.0040.00416.89
8.1.300.0140.00317.85
8.1.290.0080.00030.84
8.1.280.0170.00325.92
8.1.270.0090.00922.23
8.1.260.0080.00021.86
8.1.250.0040.00422.14
8.1.240.0070.01118.50
8.1.230.0040.00418.57
8.1.220.0040.00419.00
8.1.210.0000.00818.40
8.1.200.0120.00618.80
8.1.190.0100.01018.55
8.1.180.0100.01018.43
8.1.170.0070.00718.61
8.1.160.0040.01118.56
8.1.150.0040.00418.62
8.1.140.0110.00018.47
8.1.130.0040.00418.86
8.1.120.0070.00318.56
8.1.110.0060.00318.58
8.1.100.0040.00418.54
8.1.90.0080.00018.54
8.1.80.0030.00518.50
8.1.70.0050.00318.54
8.1.60.0080.00018.75
8.1.50.0050.00318.68
8.1.40.0000.00818.75
8.1.30.0040.00418.69
8.1.20.0040.00418.71
8.1.10.0080.00018.61
8.1.00.0080.00018.61

preferences:
30.95 ms | 403 KiB | 5 Q