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)
8.3.70.0060.01018.18
8.3.60.0090.00918.43
8.3.50.0120.00720.99
8.3.40.0070.01018.71
8.3.30.0060.01219.07
8.3.20.0050.00320.34
8.3.10.0050.00321.69
8.3.00.0080.00017.38
8.2.190.0070.01316.58
8.2.180.0150.00316.38
8.2.170.0140.00018.71
8.2.160.0100.01022.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00319.36
8.2.110.0030.00720.40
8.2.100.0090.00317.50
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0000.01019.84
8.2.30.0040.00417.89
8.2.20.0000.00817.56
8.2.10.0040.00417.90
8.2.00.0000.01017.73
8.1.280.0140.00725.92
8.1.270.0090.00620.20
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.85
8.1.230.0120.00017.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.01117.35
8.1.190.0040.00417.25
8.1.180.0100.00018.10
8.1.170.0030.00620.49
8.1.160.0000.00722.01
8.1.150.0070.00018.88
8.1.140.0070.00317.36
8.1.130.0030.00317.68
8.1.120.0000.00717.42
8.1.110.0050.00317.30
8.1.100.0040.00417.39
8.1.90.0000.00817.37
8.1.80.0000.00817.38
8.1.70.0040.00417.42
8.1.60.0000.00817.44
8.1.50.0000.00917.35
8.1.40.0080.00317.47
8.1.30.0030.00617.48
8.1.20.0000.00717.63
8.1.10.0000.00717.38
8.1.00.0000.00717.30
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.48
8.0.270.0000.00816.88
8.0.260.0030.00317.31
8.0.250.0030.00316.84
8.0.240.0030.00316.95
8.0.230.0050.00216.98
8.0.220.0020.00516.89
8.0.210.0030.00316.86
8.0.200.0060.00016.82
8.0.190.0040.00416.86
8.0.180.0000.00716.85
8.0.170.0030.00516.91
8.0.160.0000.00716.88
8.0.150.0070.00016.73
8.0.140.0030.00416.69
8.0.130.0000.00813.29
8.0.120.0000.00816.78
8.0.110.0070.00016.79
8.0.100.0040.00416.86
8.0.90.0050.00216.78
8.0.80.0120.00316.75
8.0.70.0030.00316.77
8.0.60.0030.00516.70
8.0.50.0000.00816.79
8.0.30.0120.00617.21
8.0.20.0070.01417.40
8.0.10.0070.00016.90
8.0.00.0130.00516.85
7.4.330.0060.00015.03
7.4.320.0070.00016.45
7.4.300.0030.00316.54
7.4.290.0000.00716.34
7.4.280.0050.00216.38
7.4.270.0030.00316.54
7.4.260.0080.00016.38
7.4.250.0070.00016.39
7.4.240.0040.00316.54
7.4.230.0030.00316.34
7.4.220.0090.00916.54
7.4.210.0080.00516.58
7.4.200.0000.00716.47
7.4.160.0060.00916.43
7.4.150.0060.01717.40
7.4.140.0110.01417.86
7.4.130.0110.01016.42
7.4.120.0120.00616.39
7.4.110.0030.01616.45
7.4.100.0090.00916.47
7.4.90.0080.00816.63
7.4.80.0070.01719.39
7.4.70.0080.00816.64
7.4.60.0040.01216.55
7.4.50.0040.00416.36
7.4.40.0000.01716.54
7.4.30.0070.01016.49
7.4.00.0040.01414.88
7.3.330.0020.00313.30
7.3.320.0120.00313.13
7.3.310.0030.00316.33
7.3.300.0030.00316.27
7.3.290.0080.00616.31
7.3.280.0070.00916.30
7.3.270.0090.00917.40
7.3.260.0030.02016.39
7.3.250.0140.00516.48
7.3.240.0070.01016.58
7.3.230.0060.01116.41
7.3.210.0060.00916.57
7.3.200.0030.01319.39
7.3.190.0080.00816.39
7.3.180.0070.01416.25
7.3.170.0070.01016.55
7.3.160.0100.00616.38
7.3.120.0100.00314.70
7.3.110.0030.00914.75
7.3.100.0030.00914.99
7.3.90.0030.00814.89
7.3.80.0040.00414.68
7.3.70.0030.00514.80
7.3.60.0090.00314.73
7.3.50.0030.01014.89
7.3.40.0030.00914.73
7.3.30.0000.01314.88
7.3.20.0040.01116.57
7.3.10.0060.00616.51
7.3.00.0090.00416.48
7.2.330.0130.00316.49
7.2.320.0030.01416.65
7.2.310.0160.00616.34
7.2.300.0090.01216.48
7.2.290.0110.00816.43
7.2.240.0030.01014.64
7.2.230.0070.00714.98
7.2.220.0000.01115.19
7.2.210.0000.01214.57
7.2.200.0110.00314.82
7.2.190.0040.00714.92
7.2.180.0000.00814.84
7.2.170.0070.01014.62
7.2.160.0080.00614.81
7.2.150.0060.00916.53
7.2.140.0000.01416.73
7.2.130.0050.00816.75
7.2.120.0080.00816.65
7.2.110.0040.00916.50
7.2.100.0060.00316.73
7.2.90.0020.01316.65
7.2.80.0110.00516.42
7.2.70.0060.00816.61
7.2.60.0060.00816.76
7.2.50.0070.00516.59
7.2.40.0130.00716.89
7.2.30.0070.00716.76
7.2.20.0090.00616.61
7.2.10.0070.00516.84
7.2.00.0040.00717.63
7.1.330.0080.00415.61
7.1.320.0000.01115.88
7.1.310.0110.00315.75
7.1.300.0030.00715.59
7.1.290.0040.00415.82
7.1.280.0030.00715.67
7.1.270.0080.00015.41
7.1.260.0060.00915.75
7.1.250.0070.00415.62
7.1.200.0070.00315.77
7.1.100.0060.00618.18
7.1.70.0040.00417.10
7.1.60.0180.00719.50
7.1.50.0160.00716.90
7.1.00.0000.08022.51
7.0.200.0240.00614.66
7.0.140.0000.03721.98
7.0.60.0030.07020.00
7.0.50.0000.06717.90
7.0.40.0170.08020.04
7.0.30.0470.04320.09
7.0.20.0270.03720.26
7.0.10.0300.07320.24
7.0.00.0070.09020.07
5.6.280.0030.07320.86
5.6.210.0100.08320.65
5.6.200.0100.03318.25
5.6.190.0100.07020.48
5.6.180.0300.08320.46
5.6.170.0500.06020.56
5.6.160.0070.04020.47
5.6.150.0100.06018.18
5.6.140.0100.07018.15
5.6.130.0100.05018.28
5.6.120.0130.07721.12
5.6.110.0000.09021.12
5.6.100.0030.08020.96
5.6.90.0070.09021.10
5.6.80.0070.07320.53
5.6.70.0370.04020.38
5.5.350.0200.06020.40
5.5.340.0070.07018.03
5.5.330.0100.08020.21
5.5.320.0270.04020.44
5.5.310.0130.04320.27
5.5.300.0030.04017.95
5.5.290.0070.08018.05
5.5.280.0130.07720.77
5.5.270.0130.08320.87
5.5.260.0030.06720.68
5.5.250.0170.07320.58
5.5.240.0130.06320.07
5.4.450.0500.07019.47
5.4.440.0800.06019.16
5.4.430.0700.07019.57
5.4.420.0900.05019.54
5.4.410.0130.05018.70
5.4.400.0670.06018.77
5.4.390.0600.04318.61
5.4.380.0230.06318.54
5.4.370.0230.06318.80
5.4.360.0330.05718.50
5.4.350.0430.06718.78
5.4.340.0500.06718.61
5.4.320.0500.07318.75
5.4.310.0400.07318.76
5.4.300.0630.06318.84
5.4.290.0730.05018.59
5.4.280.0430.08018.74
5.4.270.0500.06718.60
5.4.260.0270.08018.52
5.4.250.0400.07318.79
5.4.240.0430.07318.53
5.4.230.0370.05718.45
5.4.220.0400.06018.57
5.4.210.0330.06318.73
5.4.200.0530.06316.62
5.4.190.0430.05318.51
5.4.180.0470.08018.74
5.4.170.0470.07318.44
5.4.160.0570.06018.76
5.4.150.0470.06718.82
5.4.140.0470.06716.34
5.4.130.0400.05316.31
5.4.120.0400.05716.28
5.4.110.0330.05016.16
5.4.100.0430.04716.19
5.4.90.0400.04716.32
5.4.80.0330.05716.28
5.4.70.0330.07316.29
5.4.60.0370.04716.23
5.4.50.0430.04716.13
5.4.40.0400.07016.42
5.4.30.0300.05016.34
5.4.20.0130.05316.14
5.4.10.0630.04716.21
5.4.00.0500.06315.65
5.3.290.0500.07014.86
5.3.280.0300.06714.70
5.3.270.0370.07314.61
5.3.260.0370.07714.59
5.3.250.0530.06014.73
5.3.240.0470.06014.63
5.3.230.0370.06014.61
5.3.220.0530.05014.61
5.3.210.0670.05714.58
5.3.200.0370.06714.69
5.3.190.0300.06314.62
5.3.180.0330.05014.59
5.3.170.0170.05014.78
5.3.160.0300.06014.65
5.3.150.0570.05714.60
5.3.140.0430.06714.78
5.3.130.0370.07314.71
5.3.120.0570.06014.66
5.3.110.0330.06014.71
5.3.100.0500.05714.05
5.3.90.0330.06014.03
5.3.80.0330.06314.14
5.3.70.0400.06014.19
5.3.60.0330.05014.11
5.3.50.0330.05013.94
5.3.40.0370.05014.00
5.3.30.0330.06013.98
5.3.20.0430.06313.75
5.3.10.0570.05713.77
5.3.00.0530.05713.66
5.2.170.0400.05311.25
5.2.160.0330.04711.25
5.2.150.0230.05711.17
5.2.140.0270.05011.35
5.2.130.0330.05011.31
5.2.120.0370.04011.16
5.2.110.0230.05011.12
5.2.100.0400.05011.22
5.2.90.0470.04311.16
5.2.80.0330.04011.21
5.2.70.0300.04011.13
5.2.60.0200.05011.18
5.2.50.0300.04311.02
5.2.40.0330.04711.20
5.2.30.0270.04711.02
5.2.20.0230.04711.06
5.2.10.0170.05010.96
5.2.00.0300.05010.89
5.1.60.0300.04310.18
5.1.50.0300.0309.98
5.1.40.0200.04310.04
5.1.30.0200.04710.44
5.1.20.0400.04310.37
5.1.10.0430.03710.21
5.1.00.0230.05710.09
5.0.50.0170.0378.73
5.0.40.0170.0338.43
5.0.30.0170.0508.30
5.0.20.0300.0338.23
5.0.10.0200.0378.16
5.0.00.0170.0478.18
4.4.90.0270.0275.89
4.4.80.0100.0335.86
4.4.70.0170.0335.89
4.4.60.0100.0305.87
4.4.50.0070.0275.88
4.4.40.0130.0306.02
4.4.30.0070.0236.01
4.4.20.0170.0175.94
4.4.10.0170.0235.98
4.4.00.0130.0336.02
4.3.110.0130.0235.82
4.3.100.0100.0275.96
4.3.90.0300.0205.79
4.3.80.0130.0435.81
4.3.70.0130.0305.80
4.3.60.0100.0205.84
4.3.50.0070.0205.78
4.3.40.0130.0275.74
4.3.30.0030.0234.59
4.3.20.0030.0274.57
4.3.10.0000.0234.54
4.3.00.0130.0206.87

preferences:
49.99 ms | 401 KiB | 5 Q