3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base = 'http://music.example.org/search.php'; $params = array('composer' => 'beethoven', 'instrument' => 'cello'); $url = $base . '?' . http_build_query($params); $response = file_get_contents($url);

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.60.0140.00718.93
8.3.50.0120.00722.11
8.3.40.0090.00619.01
8.3.30.0070.01119.12
8.3.20.0050.00318.99
8.3.10.0080.00021.20
8.3.00.0070.00022.03
8.2.180.0100.00616.88
8.2.170.0000.01422.96
8.2.160.0130.00320.52
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00721.29
8.2.110.0080.00419.46
8.2.100.0060.00617.97
8.2.90.0040.00419.42
8.2.80.0000.00818.18
8.2.70.0060.00317.75
8.2.60.0020.00718.16
8.2.50.0040.00418.28
8.2.40.0000.00720.67
8.2.30.0080.00019.40
8.2.20.0000.00817.91
8.2.10.0050.00217.87
8.2.00.0030.00617.99
8.1.280.0120.00325.92
8.1.270.0090.00023.99
8.1.260.0100.00026.35
8.1.250.0000.00828.09
8.1.240.0000.01021.17
8.1.230.0080.00422.31
8.1.220.0050.00318.01
8.1.210.0000.00818.77
8.1.200.0030.00617.48
8.1.190.0080.00017.48
8.1.180.0030.00618.10
8.1.170.0000.00818.75
8.1.160.0070.00019.02
8.1.150.0070.00020.41
8.1.140.0000.00817.52
8.1.130.0000.00817.93
8.1.120.0050.00417.55
8.1.110.0040.00417.61
8.1.100.0040.00417.56
8.1.90.0070.00017.55
8.1.80.0030.00517.59
8.1.70.0000.00717.45
8.1.60.0100.00317.70
8.1.50.0050.00317.75
8.1.40.0030.00517.70
8.1.30.0000.00817.67
8.1.20.0030.00617.80
8.1.10.0040.00417.65
8.1.00.0000.00717.46
8.0.300.0000.00918.77
8.0.290.0070.00017.00
8.0.280.0070.00018.61
8.0.270.0050.00217.57
8.0.260.0080.00017.18
8.0.250.0040.00417.17
8.0.240.0040.00817.20
8.0.230.0050.00317.21
8.0.220.0070.00017.14
8.0.210.0060.00317.17
8.0.200.0070.00017.20
8.0.190.0070.00017.22
8.0.180.0000.00717.15
8.0.170.0030.00517.16
8.0.160.0000.00717.23
8.0.150.0070.00017.07
8.0.140.0000.00717.23
8.0.130.0000.00513.71
8.0.120.0050.00317.21
8.0.110.0000.00917.19
8.0.100.0030.00517.29
8.0.90.0000.00717.11
8.0.80.0150.00317.26
8.0.70.0030.00617.17
8.0.60.0020.00517.26
8.0.50.0050.00317.21
8.0.30.0120.00717.41
8.0.20.0120.00717.40
8.0.10.0040.00417.10
8.0.00.0080.01116.93
7.4.330.0050.00017.17
7.4.320.0070.00016.69
7.4.300.0000.00616.70
7.4.290.0040.00416.63
7.4.280.0070.00016.72
7.4.270.0030.00316.71
7.4.260.0000.00513.39
7.4.250.0080.00016.74
7.4.240.0040.00416.75
7.4.230.0050.00216.72
7.4.220.0250.00616.64
7.4.210.0090.01016.80
7.4.200.0050.00216.68
7.4.190.0050.00216.89
7.4.160.0090.00916.70
7.4.150.0130.00617.40
7.4.140.0120.00617.86
7.4.130.0100.01316.73
7.4.120.0130.00516.70
7.4.110.0100.01016.68
7.4.100.0100.01616.74
7.4.90.0090.00916.70
7.4.80.0090.00919.39
7.4.70.0070.01016.79
7.4.60.0080.00816.77
7.4.50.0060.00316.65
7.4.40.0070.00722.77
7.4.30.0120.00616.77
7.4.00.0120.00615.29
7.3.330.0030.00313.63
7.3.320.0000.00613.39
7.3.310.0030.00316.58
7.3.300.0040.00416.63
7.3.290.0030.01716.64
7.3.280.0100.00716.70
7.3.270.0070.01117.40
7.3.260.0140.00818.24
7.3.250.0130.00516.61
7.3.240.0090.00916.67
7.3.230.0100.00716.73
7.3.210.0120.00616.61
7.3.200.0090.01519.39
7.3.190.0040.01416.57
7.3.180.0060.00916.74
7.3.170.0040.01816.57
7.3.160.0060.00916.57
7.3.120.0130.00315.10
7.3.10.0100.00416.46
7.3.00.0090.00516.90
7.2.330.0160.00616.99
7.2.320.0080.01116.94
7.2.310.0070.01116.87
7.2.300.0070.01016.78
7.2.290.0140.00416.91
7.2.130.0070.00917.09
7.2.120.0040.01217.07
7.2.110.0070.00817.18
7.2.100.0110.00416.97
7.2.90.0090.00716.98
7.2.80.0080.00816.91
7.2.70.0090.00817.02
7.2.60.0100.01117.04
7.2.50.0100.00917.09
7.2.40.0060.00816.87
7.2.30.0060.00817.00
7.2.20.0080.00716.90
7.2.10.0070.00816.88
7.2.00.0050.00917.76
7.1.250.0090.00515.82
7.1.240.0070.00715.83
7.1.230.0110.00316.15
7.1.220.0030.01016.06
7.1.210.0090.00616.02
7.1.200.0050.00815.68
7.1.190.0080.00415.79
7.1.180.0040.00715.77
7.1.170.0030.00716.12
7.1.160.0070.00716.15
7.1.150.0070.00716.07
7.1.140.0040.00816.00
7.1.130.0090.00616.16
7.1.120.0080.00015.86
7.1.110.0000.01316.08
7.1.100.0060.00315.99
7.1.90.0000.00916.06
7.1.80.0030.01016.14
7.1.70.0060.00816.82
7.1.60.0070.01317.54
7.1.50.0040.01116.61
7.1.40.0040.00415.70
7.1.30.0030.00716.18
7.1.20.0000.01116.02
7.1.10.0060.00615.98
7.1.00.0030.02719.25
7.0.330.0040.00715.68
7.0.320.0000.01015.29
7.0.310.0030.00615.85
7.0.300.0080.00615.69
7.0.290.0120.00015.43
7.0.280.0050.00515.71
7.0.270.0030.00915.62
7.0.260.0070.00715.51
7.0.250.0070.00715.63
7.0.240.0000.00815.79
7.0.230.0040.00415.72
7.0.220.0070.00415.66
7.0.210.0000.01515.70
7.0.200.0050.00616.43
7.0.190.0130.00015.86
7.0.180.0090.00315.80
7.0.170.0070.00715.62
7.0.160.0000.01115.81
7.0.150.0040.00815.84
7.0.140.0070.03918.87
7.0.130.0070.00715.61
7.0.120.0060.00915.31
7.0.110.0100.00315.80
7.0.100.0000.00915.56
7.0.90.0030.00615.39
7.0.80.0030.00615.61
7.0.70.2350.02518.06
7.0.60.0080.04817.89
7.0.50.0100.03216.86
7.0.40.0100.04517.17
7.0.30.0170.02117.14
7.0.20.0210.04217.15
7.0.10.0170.04517.11
7.0.00.0050.02816.96
5.6.380.0060.00314.64
5.6.370.0040.00714.76
5.6.360.0000.01014.58
5.6.350.0100.00314.64
5.6.340.0100.00314.34
5.6.330.0070.00714.38
5.6.320.0040.00414.78
5.6.310.0030.00614.63
5.6.300.0170.00014.73
5.6.290.0060.00314.77
5.6.280.0050.03918.06
5.6.270.0060.00914.46
5.6.260.0040.01114.47
5.6.250.0110.00314.43
5.6.240.0110.00414.64
5.6.230.0030.00914.79
5.6.220.0070.00714.46
5.6.210.0080.04317.87
5.6.200.0060.02316.49
5.6.190.0060.04117.72
5.6.180.0060.04717.64
5.6.170.0100.02517.56
5.6.160.0050.04617.61
5.6.150.0030.02816.67
5.6.140.0110.04116.61
5.6.130.0120.01716.50
5.6.120.0030.02318.07
5.6.110.0070.04717.94
5.6.100.0080.04418.04
5.6.90.0080.03118.00
5.6.80.0050.02317.60
5.6.70.0030.04717.57
5.6.60.0040.00814.25
5.6.50.0060.00614.68
5.6.40.0030.00714.71
5.6.30.0080.00314.50
5.6.20.0070.00414.54
5.6.10.0070.01114.31
5.6.00.0100.00314.55
5.5.380.0070.00311.44
5.5.370.0070.00311.02
5.5.360.0090.00011.46
5.5.350.0030.04316.28
5.5.340.0020.02314.92
5.5.330.0030.04515.91
5.5.320.0030.04316.20
5.5.310.0150.03516.10
5.5.300.0050.04414.92
5.5.290.0050.04314.94
5.5.280.0090.04016.33
5.5.270.0020.04416.25
5.5.260.0110.03916.31
5.5.250.0060.03516.14
5.5.240.0100.04216.04
5.5.230.0000.01211.37
5.5.220.0070.00311.05
5.5.210.0040.00411.43
5.5.200.0000.01311.29
5.5.190.0090.00311.17
5.5.180.0070.00711.29
5.5.170.0000.01111.38
5.5.160.0070.00311.25
5.5.150.0060.00611.27
5.5.140.0030.00311.20
5.5.130.0100.00011.16
5.5.120.0050.00311.26
5.5.110.0060.00611.55
5.5.100.0030.00311.36
5.5.90.0060.00611.04
5.5.80.0000.00611.25
5.5.70.0090.00310.91
5.5.60.0070.00410.91
5.5.50.0040.00411.06
5.5.40.0110.00411.47
5.5.30.0060.00311.15
5.5.20.0040.00711.13
5.5.10.0000.00711.20
5.5.00.0040.00411.28
5.4.450.0080.02515.71
5.4.440.0150.04215.68
5.4.430.0180.03815.74
5.4.420.0200.02515.63
5.4.410.0200.03715.58
5.4.400.0150.03615.47
5.4.390.0150.03215.52
5.4.380.0230.03515.46
5.4.370.0150.04015.38
5.4.360.0210.01715.47
5.4.350.0200.02315.34
5.4.340.0200.02015.49
5.4.330.0050.00511.02
5.4.320.0150.02315.50
5.4.310.0130.02215.44
5.4.300.0170.02815.43
5.4.290.0140.02915.58
5.4.280.0170.03015.50
5.4.270.0160.02515.40
5.4.260.0170.02715.29
5.4.250.0220.03415.39
5.4.240.0150.02615.64
5.4.230.0180.03315.40
5.4.220.0230.03115.32
5.4.210.0180.03815.61
5.4.200.0130.02515.52
5.4.190.0190.02915.39
5.4.180.0130.02015.35
5.4.170.0130.02015.47
5.4.160.0100.02515.59
5.4.150.0100.02415.68
5.4.140.0100.02814.04
5.4.130.0130.01814.07
5.4.120.0110.02114.02
5.4.110.0150.01813.95
5.4.100.0170.02014.28
5.4.90.0150.01814.19
5.4.80.0160.01714.29
5.4.70.0140.02214.09
5.4.60.0160.02114.26
5.4.50.0080.02714.15
5.4.40.0080.02214.14
5.4.30.0100.02214.13
5.4.20.0120.02313.96
5.4.10.0110.02114.08
5.4.00.0140.01813.99
5.3.290.0160.02112.89
5.3.280.0120.03712.88
5.3.270.0150.02312.92
5.3.260.0120.02412.80
5.3.250.0130.02112.99
5.3.240.0140.01812.69
5.3.230.0140.01912.89
5.3.220.0120.02012.83
5.3.210.0100.02412.76
5.3.200.0080.02312.68
5.3.190.0120.02112.76
5.3.180.0100.02212.76
5.3.170.0090.02212.96
5.3.160.0070.02613.00
5.3.150.0140.02212.95
5.3.140.0130.01812.68
5.3.130.0130.02012.74
5.3.120.0100.02512.88
5.3.110.0130.01812.88
5.3.100.0050.02812.58
5.3.90.0130.02012.60
5.3.80.0120.02112.46
5.3.70.0090.02412.29
5.3.60.0160.01512.38
5.3.50.0120.02312.34
5.3.40.0060.02612.40
5.3.30.0070.02512.49
5.3.20.0090.02112.29
5.3.10.0150.01812.17
5.3.00.0140.02612.12
5.2.170.0080.01711.40
5.2.160.0110.01511.46
5.2.150.0070.01811.49
5.2.140.0080.02311.41
5.2.130.0120.01911.48
5.2.120.0070.02111.47
5.2.110.0120.01711.36
5.2.100.0150.03211.46
5.2.90.0150.02011.51
5.2.80.0160.02011.45
5.2.70.0130.03011.46
5.2.60.0130.03211.38
5.2.50.0140.02411.29
5.2.40.0120.03111.46
5.2.30.0170.03011.42
5.2.20.0100.02811.30
5.2.10.0130.02511.30
5.2.00.0100.02211.21
5.1.60.0090.01510.95
5.1.50.0060.01810.91
5.1.40.0130.02210.87
5.1.30.0160.02511.05
5.1.20.0130.01710.85
5.1.10.0070.03110.85
5.1.00.0120.02510.93
5.0.50.0090.02210.73
5.0.40.0060.02510.73
5.0.30.0070.03410.73
5.0.20.0090.02210.73
5.0.10.0060.02310.73
5.0.00.0100.01710.73
4.4.90.0060.01310.73
4.4.80.0030.01710.73
4.4.70.0080.01810.73
4.4.60.0060.01810.73
4.4.50.0070.01010.73
4.4.40.0050.02210.73
4.4.30.0030.01710.73
4.4.20.0080.01710.73
4.4.10.0090.01310.73
4.4.00.0100.02610.73
4.3.110.0080.01010.73
4.3.100.0120.01010.73
4.3.90.0070.01010.73
4.3.80.0080.02510.73
4.3.70.0040.00910.73
4.3.60.0050.01410.73
4.3.50.0050.01310.73
4.3.40.0030.02110.73
4.3.30.0070.01710.73
4.3.20.0030.01710.73
4.3.10.0040.01510.73
4.3.00.0070.01510.73

preferences:
44.34 ms | 401 KiB | 5 Q