3v4l.org

run code in 300+ PHP versions simultaneously
<?php $postdata = http_build_query( array( 'format' => 'csv', 'data' => '3GNDA13D76S000000;5XYKT3A12CG000000' ) ); $opts = array('http' => array( 'method' => 'POST', 'content' => $postdata ) ); $apiURL = "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVINValuesBatch/"; $context = stream_context_create($opts); $fp = fopen($apiURL, 'rb', false, $context); if(!$fp) { echo "in first if"; } $response = @stream_get_contents($fp); if($response == false) { echo "in second if"; } echo $response; ?>

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.0130.00618.43
8.3.60.0100.01016.63
8.3.50.0130.00516.68
8.3.40.0150.00418.97
8.3.30.0140.00018.84
8.3.20.0070.00020.23
8.3.10.0080.00023.58
8.3.00.0080.00022.09
8.2.180.0090.01616.88
8.2.170.0090.00622.96
8.2.160.0110.00619.16
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00420.91
8.2.120.0070.00026.35
8.2.110.0030.00721.12
8.2.100.0040.00818.34
8.2.90.0000.00819.21
8.2.80.0030.00618.16
8.2.70.0000.00917.75
8.2.60.0000.00818.05
8.2.50.0000.00818.10
8.2.40.0090.00020.61
8.2.30.0040.00421.18
8.2.20.0000.00718.02
8.2.10.0060.00318.02
8.2.00.0000.00718.20
8.1.280.0120.00325.92
8.1.270.0000.00722.19
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00023.76
8.1.230.0090.00319.00
8.1.220.0030.00617.78
8.1.210.0030.00618.77
8.1.200.0090.00017.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0000.00719.02
8.1.160.0000.00719.02
8.1.150.0020.00618.90
8.1.140.0000.01019.59
8.1.130.0000.00718.90
8.1.120.0040.00417.55
8.1.110.0040.00417.45
8.1.100.0000.00717.46
8.1.90.0040.00417.47
8.1.80.0000.00817.50
8.1.70.0050.00317.37
8.1.60.0080.00017.59
8.1.50.0050.00317.44
8.1.40.0050.00317.54
8.1.30.0000.00817.58
8.1.20.0040.00417.66
8.1.10.0030.00617.54
8.1.00.0060.00317.54
8.0.300.0040.00418.77
8.0.290.0060.00316.88
8.0.280.0000.00718.51
8.0.270.0030.00517.38
8.0.260.0030.00316.96
8.0.250.0080.00017.08
8.0.240.0040.00417.09
8.0.230.0080.00017.08
8.0.220.0050.00217.04
8.0.210.0040.00417.10
8.0.200.0030.00317.11
8.0.190.0080.00017.03
8.0.180.0090.00317.08
8.0.170.0040.00417.09
8.0.160.0040.00417.05
8.0.150.0050.00316.96
8.0.140.0040.00416.97
8.0.130.0000.00613.45
8.0.120.0000.00816.98
8.0.110.0040.00417.05
8.0.100.0050.00217.04
8.0.90.0000.00716.99
8.0.80.0030.01317.01
8.0.70.0000.00816.91
8.0.60.0040.00417.10
8.0.50.0030.00516.91
8.0.30.0120.00517.06
8.0.20.0120.00817.40
8.0.10.0050.00217.07
8.0.00.0100.00816.63
7.4.330.0030.00315.55
7.4.320.0030.00316.55
7.4.300.0000.00616.37
7.4.290.0030.00316.63
7.4.280.0040.00416.50
7.4.270.0000.00716.60
7.4.260.0000.00716.54
7.4.250.0050.00316.44
7.4.240.0030.00316.60
7.4.230.0080.00016.52
7.4.220.0110.00616.59
7.4.210.0080.01016.59
7.4.200.0000.00716.60
7.4.160.0120.00716.62
7.4.150.0150.00417.40
7.4.140.0090.00917.86
7.4.130.0100.00916.43
7.4.120.0120.00716.51
7.4.110.0110.00716.50
7.4.100.0060.01316.70
7.4.90.0120.00616.63
7.4.80.0140.00419.39
7.4.70.0130.00316.68
7.4.60.0030.01416.45
7.4.50.0060.01016.41
7.4.40.0100.00616.50
7.4.30.0080.00816.34
7.4.10.0060.00614.79
7.4.00.0050.01314.97
7.3.330.0070.00013.21
7.3.320.0030.00313.21
7.3.310.0070.00016.48
7.3.300.0070.00016.34
7.3.290.0030.00316.42
7.3.280.0080.00916.46
7.3.270.0070.01017.40
7.3.260.0140.00616.52
7.3.250.0110.00616.36
7.3.240.0130.00416.51
7.3.230.0070.01716.41
7.3.210.0100.00716.51
7.3.200.0090.00916.42
7.3.190.0130.00316.53
7.3.180.0070.01016.47
7.3.170.0030.01316.60
7.3.160.0080.00816.54
7.3.130.0000.02014.89
7.3.120.0030.01615.10
7.3.110.0030.01414.81
7.3.100.0030.01014.68
7.3.90.0040.01114.81
7.3.80.0060.00314.65
7.3.70.0040.00814.95
7.3.60.0070.00714.99
7.3.50.0040.00814.63
7.3.40.0050.00514.63
7.3.30.0030.01015.00
7.3.20.0000.01016.86
7.3.10.0030.01216.57
7.3.00.0110.00416.54
7.2.330.0120.01516.54
7.2.320.0120.00616.56
7.2.310.0060.01616.60
7.2.300.0060.01116.48
7.2.290.0080.01116.32
7.2.260.0030.01614.63
7.2.250.0040.01514.86
7.2.240.0040.01115.08
7.2.230.0060.01314.89
7.2.220.0060.00914.74
7.2.210.0100.00315.17
7.2.200.0040.01214.99
7.2.190.0060.00914.99
7.2.180.0030.01015.12
7.2.170.0000.01415.02
7.2.160.0100.00315.07
7.2.150.0040.00816.48
7.2.140.0080.00516.70
7.2.130.0070.00416.84
7.2.120.0060.01216.68
7.2.110.0100.00716.91
7.2.100.0000.01416.84
7.2.90.0030.00916.63
7.2.80.0040.01116.89
7.2.70.0060.01017.05
7.2.60.0260.00216.68
7.2.50.0030.00717.04
7.2.40.0120.00316.57
7.2.30.0030.00716.76
7.2.20.0060.00616.75
7.2.10.0090.00616.89
7.2.00.0050.00718.33
7.1.330.0030.01015.98
7.1.320.0110.00015.93
7.1.310.0100.00315.89
7.1.300.0040.01115.90
7.1.290.0140.00015.83
7.1.280.0040.01115.63
7.1.270.0040.00715.87
7.1.260.0000.01415.62
7.1.250.0090.00015.57
7.1.240.0070.00715.77
7.1.230.0030.01115.79
7.1.220.0130.00015.94
7.1.210.0060.00915.79
7.1.200.0090.01015.52
7.1.190.0060.00315.78
7.1.180.0040.00815.70
7.1.170.0040.00815.83
7.1.160.0000.01315.86
7.1.150.0080.00015.86
7.1.140.0060.00615.56
7.1.130.0030.01015.82
7.1.120.0070.01015.89
7.1.110.0030.01415.82
7.1.100.0060.00817.31
7.1.90.0060.00615.81
7.1.80.0060.00615.82
7.1.70.0210.00815.74
7.1.60.0240.00824.57
7.1.50.0280.00624.74
7.1.40.0250.00724.41
7.1.30.0260.00824.47
7.1.20.0230.01124.45
7.1.10.0190.00715.33
7.1.00.0200.00615.51
7.0.330.0040.00715.34
7.0.320.0070.00415.65
7.0.310.0100.00315.40
7.0.300.0030.00615.32
7.0.290.0060.00615.59
7.0.280.0070.00715.44
7.0.270.0000.01115.46
7.0.260.0100.00615.36
7.0.250.0100.00615.63
7.0.240.0000.00915.58
7.0.230.0000.01515.42
7.0.220.0030.00615.51
7.0.210.0030.00615.38
7.0.200.0210.00615.38
7.0.190.0250.00815.16
7.0.180.0200.00715.09
7.0.170.0150.01015.20
7.0.160.0240.00315.16
7.0.150.0120.00915.16
7.0.140.0180.01015.02
7.0.130.0220.00815.28
7.0.120.0270.00315.24
7.0.110.1160.01015.14
7.0.100.0140.01215.08
7.0.90.0110.01215.10
7.0.80.0150.01015.09
7.0.70.0160.01015.14
7.0.60.0170.00815.07
7.0.50.0170.00915.11
7.0.40.0160.01214.10
7.0.30.0140.01014.32
7.0.20.0160.00914.22
7.0.10.0180.00513.95
7.0.00.0190.00614.17
5.6.400.0100.00614.41
5.6.390.0090.00314.37
5.6.380.0040.00714.34
5.6.370.0040.00814.42
5.6.360.0030.01014.52
5.6.350.0030.01314.07
5.6.340.0070.00314.38
5.6.330.0030.01514.66
5.6.320.0060.01014.30
5.6.310.0030.01014.34
5.6.300.0060.00914.30
5.6.290.0030.01014.36
5.6.280.0070.00314.61
5.6.270.0040.01114.05
5.6.260.0060.00913.75
5.6.250.0070.00414.21
5.6.240.0060.00614.29
5.6.230.0130.00014.49
5.6.220.0070.00714.08
5.6.210.0070.00714.28
5.6.200.0030.00714.63
5.6.190.0080.00414.29
5.6.180.0080.00414.27
5.6.170.0080.00814.26
5.6.160.0000.01414.59
5.6.150.0070.00414.02
5.6.140.0100.00314.31
5.6.130.0080.00414.21
5.6.120.0030.01214.16
5.6.110.0080.00414.11
5.6.100.0000.01414.20
5.6.90.0000.01414.50
5.6.80.0060.00614.62
5.6.70.0030.01014.48
5.6.60.0070.00414.16
5.6.50.0040.00814.30
5.6.40.0040.01114.25
5.6.30.0070.01013.90
5.6.20.0150.00014.08
5.6.10.0030.00614.27
5.6.00.0070.00714.01

preferences:
69.73 ms | 401 KiB | 5 Q