3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('GM_HTTP_SERVER', 'http://localhost/'); define('DIR_WS_ORIGINAL_IMAGES', 'path/'); class FmUtils { public static function getImageOriginalUrl($image) { return GM_HTTP_SERVER . DIR_WS_ORIGINAL_IMAGES . $image; } } echo FmUtils::getImageOriginalUrl('123.jpg')

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.6.80.0070.08020.43
5.5.240.0330.06720.16
5.4.400.0470.07018.82
5.4.390.0330.05718.77
5.4.380.0430.06718.62
5.4.370.0500.05018.80
5.4.360.0370.05318.75
5.4.350.0430.04318.70
5.4.340.0300.06018.84
5.4.320.0270.06718.80
5.4.310.0300.05718.53
5.4.300.0470.04318.70
5.4.290.0400.04318.53
5.4.280.0330.05018.69
5.4.270.0330.05018.47
5.4.260.0330.06318.74
5.4.250.0530.05318.69
5.4.240.0300.05718.60
5.4.230.0330.05018.60
5.4.220.0400.05018.74
5.4.210.0430.04718.82
5.4.200.0270.05316.80
5.4.190.0470.04318.70
5.4.180.0330.06318.57
5.4.170.0530.05018.49
5.4.160.0370.05018.57
5.4.150.0470.06718.58
5.4.140.0530.06716.32
5.4.130.0330.05716.29
5.4.120.0300.05716.29
5.4.110.0370.06016.32
5.4.100.0500.06316.33
5.4.90.0370.04716.20
5.4.80.0330.05716.41
5.4.70.0470.05016.30
5.4.60.0300.05316.20
5.4.50.1000.04716.21
5.4.40.0170.06316.18
5.4.30.0500.04316.28
5.4.20.0430.05016.30
5.4.10.0430.04716.25
5.4.00.0330.04715.66
5.3.290.0400.05314.71
5.3.280.0370.05714.59
5.3.270.0330.06314.61
5.3.260.0370.05314.62
5.3.250.0370.05014.64
5.3.240.0370.06014.66
5.3.230.0470.05314.66
5.3.220.0370.05014.55
5.3.210.0400.05714.60
5.3.200.0270.06014.70
5.3.190.0400.05014.62
5.3.180.0500.06014.58
5.3.170.0530.05714.73
5.3.160.0430.06714.61
5.3.150.0530.07014.70
5.3.140.0600.05314.60
5.3.130.0500.06014.68
5.3.120.0470.06714.69
5.3.110.0530.06314.65
5.3.100.0370.07314.20
5.3.90.0430.05014.00
5.3.80.0430.04714.06
5.3.70.0230.06714.21
5.3.60.0200.06714.03
5.3.50.0530.05313.96
5.3.40.0400.05313.95
5.3.30.0330.05013.96
5.3.20.0400.06313.89
5.3.10.0430.05713.71
5.3.00.0400.06313.76
5.2.170.0300.04011.20
5.2.160.0270.04711.35
5.2.150.0270.04311.17
5.2.140.0270.06311.35
5.2.130.0230.04311.16
5.2.120.0370.06011.11
5.2.110.0200.05011.32
5.2.100.0200.04311.14
5.2.90.0300.04011.13
5.2.80.0270.04311.14
5.2.70.0330.04011.30
5.2.60.0470.04311.15
5.2.50.0230.04711.08
5.2.40.0200.04311.04
5.2.30.0200.04311.03
5.2.20.0130.04710.94
5.2.10.0270.04311.04
5.2.00.0200.04310.82
5.1.60.0330.04310.19
5.1.50.0200.04010.00
5.1.40.0130.04310.02
5.1.30.0270.03310.38
5.1.20.0230.04010.35
5.1.10.0330.04010.22
5.1.00.0300.04310.28
5.0.50.0100.0378.73
5.0.40.0100.0278.50
5.0.30.0100.0608.21
5.0.20.0170.0308.23
5.0.10.0070.0338.38
5.0.00.0170.0408.24
4.4.90.0100.0205.89
4.4.80.0030.0305.91
4.4.70.0070.0375.90
4.4.60.0070.0275.88
4.4.50.0170.0205.90
4.4.40.0070.0405.89
4.4.30.0100.0305.86
4.4.20.0070.0275.97
4.4.10.0130.0236.03
4.4.00.0100.0506.00
4.3.110.0300.0235.83
4.3.100.0100.0235.86
4.3.90.0030.0305.78
4.3.80.0130.0335.80
4.3.70.0070.0275.79
4.3.60.0100.0235.81
4.3.50.0070.0335.79
4.3.40.0070.0405.77
4.3.30.0030.0234.54
4.3.20.0000.0274.54
4.3.10.0030.0234.52
4.3.00.0200.0236.82

preferences:
145.06 ms | 1394 KiB | 7 Q