3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Requests = array(); if(is_array($Requests)) { $Reqs = $Requests; } elseif(preg_match("/^(µ[^µ~]*~[01]µ)*$/i", $Requests)) { $Reqs = array(); $Requests = explode("µµ", mb_substr($Requests, 1, -1, "UTF-8")); foreach($Requests as $Request) { $Req = explode("~", $Request); $Reqs[] = array("Subject" => strval($Req[0]), "Active" => intval($Req[1])); } } echo json_encode($Requests);

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.0100.00318.43
8.3.50.0140.00921.92
8.3.40.0070.00718.71
8.3.30.0030.01018.79
8.3.20.0040.00420.29
8.3.10.0030.00520.38
8.3.00.0040.00419.38
8.2.180.0110.00418.41
8.2.170.0140.00322.96
8.2.160.0030.01020.35
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0040.00422.09
8.2.110.0060.00322.31
8.2.100.0120.00017.74
8.2.90.0000.00819.26
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0050.00218.22
8.2.30.0050.00518.15
8.2.20.0000.00717.75
8.2.10.0030.00517.97
8.2.00.0080.00017.63
8.1.280.0130.00725.92
8.1.270.0050.00322.02
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00723.86
8.1.230.0040.00821.04
8.1.220.0040.00417.75
8.1.210.0000.00818.77
8.1.200.0060.00317.25
8.1.190.0080.00017.11
8.1.180.0030.00618.10
8.1.170.0050.00318.55
8.1.160.0040.00421.98
8.1.150.0000.00718.77
8.1.140.0040.00417.47
8.1.130.0000.00717.89
8.1.120.0040.00417.42
8.1.110.0030.00517.34
8.1.100.0030.00517.41
8.1.90.0070.00017.33
8.1.80.0000.00717.41
8.1.70.0030.00317.34
8.1.60.0000.00817.45
8.1.50.0080.00017.47
8.1.40.0050.00317.43
8.1.30.0030.00617.57
8.1.20.0060.00317.53
8.1.10.0080.00017.56
8.1.00.0040.00417.36
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.48
8.0.270.0000.00717.28
8.0.260.0030.00317.33
8.0.250.0070.00016.98
8.0.240.0040.00416.89
8.0.230.0030.00516.92
8.0.220.0030.00316.84
8.0.210.0050.00216.86
8.0.200.0030.00316.81
8.0.190.0000.00716.82
8.0.180.0030.00516.91
8.0.170.0040.00416.88
8.0.160.0040.00416.94
8.0.150.0000.00716.86
8.0.140.0000.00716.78
8.0.130.0050.00513.29
8.0.120.0050.00316.72
8.0.110.0080.00016.86
8.0.100.0040.00416.67
8.0.90.0040.00416.79
8.0.80.0030.01216.76
8.0.70.0040.00416.73
8.0.60.0020.00516.69
8.0.50.0000.00716.64
8.0.30.0160.00717.15
8.0.20.0100.01217.40
8.0.10.0000.00716.98
8.0.00.0090.00916.77
7.4.330.0050.00015.07
7.4.320.0030.00316.52
7.4.300.0040.00416.59
7.4.290.0000.00716.56
7.4.280.0000.00716.47
7.4.270.0030.00316.48
7.4.260.0000.00716.56
7.4.250.0040.00416.49
7.4.240.0010.00616.55
7.4.230.0030.00316.51
7.4.220.0090.01516.48
7.4.210.0070.00716.59
7.4.200.0070.00016.46
7.4.160.0080.00816.77
7.4.150.0040.01517.40
7.4.140.0090.00817.86
7.4.130.0100.00716.52
7.4.120.0100.00716.55
7.4.110.0120.00616.52
7.4.100.0070.01016.72
7.4.90.0100.01116.41
7.4.80.0110.01119.39
7.4.70.0100.00716.47
7.4.60.0160.00316.41
7.4.50.0040.00416.32
7.4.40.0120.00916.50
7.4.30.0170.00016.27
7.4.10.0040.01215.12
7.4.00.0030.01214.99
7.3.330.0050.00013.06
7.3.320.0060.00013.02
7.3.310.0070.00016.07
7.3.300.0030.00316.13
7.3.290.0090.00616.21
7.3.280.0050.01216.24
7.3.270.0000.01717.40
7.3.260.0090.00916.65
7.3.250.0080.01116.41
7.3.240.0130.01016.41
7.3.230.0060.01016.39
7.3.210.0100.00616.49
7.3.200.0090.00919.39
7.3.190.0090.00916.20
7.3.180.0040.01116.25
7.3.170.0100.01016.27
7.3.160.0080.00816.40
7.3.130.0070.01114.79
7.3.120.0030.01314.98
7.3.110.0120.00614.80
7.3.100.0060.00614.96
7.3.90.0030.00714.86
7.3.80.0060.01014.86
7.3.70.0150.00014.96
7.3.60.0030.00714.82
7.3.50.0090.00314.63
7.3.40.0120.00314.63
7.3.30.0060.00614.77
7.3.20.0000.01416.63
7.3.10.0060.01016.46
7.3.00.0090.00316.57
7.2.330.0140.00316.52
7.2.320.0070.01016.59
7.2.310.0140.00316.43
7.2.300.0090.00916.62
7.2.290.0040.01316.27
7.2.260.0060.01214.93
7.2.250.0060.01315.10
7.2.240.0070.00714.81
7.2.230.0060.00914.77
7.2.220.0070.00714.78
7.2.210.0030.00615.17
7.2.200.0100.00314.79
7.2.190.0060.00614.96
7.2.180.0070.00714.88
7.2.170.0030.00715.01
7.2.160.0070.00714.70
7.2.150.0070.00716.48
7.2.140.0090.00616.71
7.2.130.0090.00516.80
7.2.120.0030.01016.56
7.2.110.0080.01016.64
7.2.100.0100.00716.71
7.2.90.0050.01016.76
7.2.80.0050.00916.71
7.2.70.0050.01216.61
7.2.60.0060.00616.77
7.2.50.0050.00616.78
7.2.40.0050.00916.76
7.2.30.0050.01016.85
7.2.20.0080.00716.86
7.2.10.0050.01016.89
7.2.00.0050.01117.62
7.1.330.0030.01016.00
7.1.320.0070.00715.82
7.1.310.0040.01215.78
7.1.300.0060.00315.60
7.1.290.0070.00715.60
7.1.280.0000.00915.77
7.1.270.0000.01015.46
7.1.260.0040.00715.61
7.1.250.0050.00515.67
7.1.240.0090.00315.51
7.1.230.0030.01015.89
7.1.220.0100.00715.76
7.1.210.0110.00015.85
7.1.200.0070.00715.74
7.1.190.0060.00315.83
7.1.180.0040.01215.61
7.1.170.0090.00015.71
7.1.160.0030.00615.89
7.1.150.0030.00915.65
7.1.140.0040.00415.93
7.1.130.0090.00615.87
7.1.120.0030.01015.75
7.1.110.0090.00615.62
7.1.100.0030.00916.88
7.1.90.0100.00615.86
7.1.80.0070.00715.98
7.1.70.0050.00716.51
7.1.60.0090.00917.43
7.1.50.0070.01116.36
7.1.40.0040.01115.65
7.1.30.0060.00615.86
7.1.20.0040.01115.54
7.1.10.0060.01015.62
7.1.00.0030.04019.16
7.0.330.0030.00615.57
7.0.320.0100.00315.49
7.0.310.0070.00315.41
7.0.300.0040.00415.45
7.0.290.0130.00315.47
7.0.280.0030.00915.34
7.0.270.0060.00615.22
7.0.260.0030.01315.45
7.0.250.0000.01515.37
7.0.240.0030.01015.55
7.0.230.0000.01115.54
7.0.220.0000.01515.31
7.0.210.0030.01015.02
7.0.200.0030.00816.02
7.0.190.0090.00015.50
7.0.180.0060.00615.33
7.0.170.0090.00615.50
7.0.160.0080.00815.26
7.0.150.0000.00815.46
7.0.140.0050.03918.68
7.0.130.0070.01015.28
7.0.120.0030.02818.74
7.0.110.0020.02918.61
7.0.100.0080.03818.73
7.0.90.0050.02318.75
7.0.80.0050.02418.73
7.0.70.0030.02218.84
7.0.60.0020.02718.68
7.0.50.0080.01818.74
7.0.40.0020.02216.63
7.0.30.0050.02016.64
7.0.20.0090.01516.76
7.0.10.0030.02316.83
7.0.00.0030.02316.86
5.6.400.0000.01514.32
5.6.390.0090.00013.88
5.6.380.0030.00714.21
5.6.370.0000.01514.46
5.6.360.0060.00614.32
5.6.350.0080.00314.34
5.6.340.0000.01314.26
5.6.330.0000.01414.44
5.6.320.0060.00614.43
5.6.310.0070.00414.17
5.6.300.0060.00314.63
5.6.290.0120.00314.18
5.6.280.0050.04217.73
5.6.270.0050.02117.54
5.6.260.0070.05417.64
5.6.250.0070.04517.73
5.6.240.0040.03217.57
5.6.230.0060.02517.43
5.6.220.0080.02717.63
5.6.210.0070.02217.71
5.6.200.0040.02317.61
5.6.190.0080.02017.49
5.6.180.0050.02017.71
5.6.170.0010.02117.59
5.6.160.0020.02517.54
5.6.150.0050.02217.74
5.6.140.0010.02317.49
5.6.130.0050.03117.54
5.6.120.0050.04017.65
5.6.110.0070.02217.39
5.6.100.0080.02217.46
5.6.90.0030.02317.57
5.6.80.0050.02317.18
5.6.70.0030.01817.21
5.6.60.0040.02217.21
5.6.50.0020.02317.04
5.6.40.0040.01817.21
5.6.30.0030.02417.03
5.6.20.0050.02017.28
5.6.10.0050.02017.28
5.6.00.0030.02317.30
5.5.380.0080.01815.91
5.5.370.0090.03315.89
5.5.360.0020.02515.84
5.5.350.0030.02215.99
5.5.340.0080.02116.30
5.5.330.0060.01816.34
5.5.320.0050.01816.22
5.5.310.0050.02316.13
5.5.300.0040.01816.11
5.5.290.0070.01516.12
5.5.280.0040.02716.11
5.5.270.0060.02116.22
5.5.260.0030.02515.93
5.5.250.0050.02116.06
5.5.240.0050.02315.79
5.5.230.0050.01915.77
5.5.220.0030.01715.76
5.5.210.0040.02415.67
5.5.200.0030.02315.82
5.5.190.0070.01715.67
5.5.180.0070.02215.76
5.5.170.0030.01014.14
5.5.160.0040.02215.75
5.5.150.0060.01915.68
5.5.140.0050.01915.82
5.5.130.0050.02015.69
5.5.120.0020.02415.85
5.5.110.0000.03615.84
5.5.100.0070.01815.86
5.5.90.0000.02415.77
5.5.80.0050.02015.85
5.5.70.0060.02015.57
5.5.60.0030.02015.60
5.5.50.0030.03615.61
5.5.40.0060.03015.54
5.5.30.0070.03715.86
5.5.20.0020.02815.78
5.5.10.0030.04315.54
5.5.00.0050.04015.73
5.4.450.0040.01815.21
5.4.440.0030.03315.23
5.4.430.0050.01915.29
5.4.420.0080.01515.20
5.4.410.0030.01915.30
5.4.400.0050.01815.08
5.4.390.0000.02915.16
5.4.380.0030.02315.12
5.4.370.0030.01615.11
5.4.360.0020.02215.13
5.4.350.0020.03015.08
5.4.340.0020.02215.20
5.4.330.0050.00511.20
5.4.320.0010.02115.05
5.4.310.0050.01715.08
5.4.300.0030.02015.06
5.4.290.0040.01815.04
5.4.280.0020.02115.13
5.4.270.0000.02115.13
5.4.260.0000.02315.12
5.4.250.0030.01815.05
5.4.240.0020.02015.08
5.4.230.0010.02015.04
5.4.220.0030.02815.09
5.4.210.0020.02315.05
5.4.200.0050.02515.19
5.4.190.0000.03515.08
5.4.180.0020.02515.07
5.4.170.0000.04615.15
5.4.160.0060.04115.12
5.4.150.0060.01815.04
5.4.140.0050.03713.81
5.4.130.0030.02513.67
5.4.120.0050.01613.70
5.4.110.0020.02913.78
5.4.100.0020.03913.77
5.4.90.0030.04113.83
5.4.80.0000.02613.71
5.4.70.0050.03813.66
5.4.60.0030.03913.76
5.4.50.0020.04313.70
5.4.40.0050.03513.83
5.4.30.0070.03913.70
5.4.20.0030.02213.82
5.4.10.0030.03713.75
5.4.00.0020.03213.40
5.3.290.0030.03014.73
5.3.280.0000.06014.48
5.3.270.0100.05714.39
5.3.260.0000.03714.62
5.3.250.0070.06714.39
5.3.240.0070.06314.68
5.3.230.0000.07014.59
5.3.220.0030.07314.43
5.3.210.0070.07314.47
5.3.200.0030.07314.47
5.3.190.0070.06014.46
5.3.180.0000.07314.46
5.3.170.0000.05314.44
5.3.160.0030.07714.41
5.3.150.0030.04014.51
5.3.140.0030.08014.63
5.3.130.0000.07714.33
5.3.120.0030.06714.39
5.3.110.0000.06714.64
5.3.100.0070.07014.07
5.3.90.0100.06313.95
5.3.80.0030.07314.07
5.3.70.0000.06014.04
5.3.60.0000.07313.90
5.3.50.0000.06713.83
5.3.40.0030.07013.82
5.3.30.0030.04013.80
5.3.20.0030.04713.61
5.3.10.0030.03313.76
5.3.00.0000.03713.73
5.2.170.0000.06310.93
5.2.160.0030.05711.09
5.2.150.0030.03311.09
5.2.140.0000.03011.08
5.2.130.0030.05311.00
5.2.120.0000.04011.04
5.2.110.0030.04311.15
5.2.100.0070.06310.89
5.2.90.0030.05311.04
5.2.80.0030.05711.16
5.2.70.0000.03310.99
5.2.60.0030.05310.98
5.2.50.0000.05710.95
5.2.40.0030.06010.91
5.2.30.0070.04310.91
5.2.20.0000.05310.76
5.2.10.0070.03010.81
5.2.00.0030.04710.61
5.1.60.0030.0209.93
5.1.50.0030.05010.07
5.1.40.0030.0509.90
5.1.30.0000.02310.47
5.1.20.0030.05310.36
5.1.10.0100.04310.04
5.1.00.0030.05710.23
5.0.50.0030.0439.70
5.0.40.0070.0279.70
5.0.30.0030.0609.70
5.0.20.0030.0409.70
5.0.10.0030.0409.70
5.0.00.0070.0539.70
4.4.90.0030.0139.70
4.4.80.0000.0309.70
4.4.70.0030.0279.70
4.4.60.0030.0209.70
4.4.50.0000.0309.70
4.4.40.0000.0379.70
4.4.30.0070.0309.70
4.4.20.0000.0179.70
4.4.10.0000.0379.70
4.4.00.0030.0539.70
4.3.110.0030.0339.70
4.3.100.0000.0309.70
4.3.90.0000.0339.70
4.3.80.0030.0309.70
4.3.70.0000.0279.70
4.3.60.0000.0379.70
4.3.50.0000.0379.70
4.3.40.0030.0409.70
4.3.30.0000.0339.70
4.3.20.0000.0279.70
4.3.10.0070.0179.70
4.3.00.0000.0379.70

preferences:
55.9 ms | 401 KiB | 5 Q