3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(20); $query_data = array('track' => 'lo que quieres buscar'); $user = 'username'; // replace with your account $pass = 'password'; // replace with your account $fp = fsockopen("stream.twitter.com", 80, $errno, $errstr, 20); if(!$fp){ print "$errstr ($errno)\n"; } else { $request = "GET /1/statuses/filter.json?" . http_build_query($query_data) . " HTTP/1.1\r\n"; $request .= "Host: stream.twitter.com\r\n"; $request .= "Authorization: Basic " . base64_encode($user . ':' . $pass) . "\r\n\r\n"; fwrite($fp, $request); while(!feof($fp)){ $json = fgets($fp); $data = json_decode($json, true); if($data){ // // Do something with the data! // var_dump($data); } } fclose($fp); }

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.0070.00718.54
8.3.50.0070.01116.47
8.3.40.0120.00319.17
8.3.30.0120.00318.74
8.3.20.0040.00421.16
8.3.10.0000.00822.04
8.3.00.0050.00319.91
8.2.180.0140.00718.41
8.2.170.0100.01022.96
8.2.160.0070.00720.67
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00420.77
8.2.120.0040.00426.16
8.2.110.0030.00620.43
8.2.100.0040.00818.09
8.2.90.0040.00419.18
8.2.80.0040.00418.05
8.2.70.0000.00817.73
8.2.60.0000.00918.18
8.2.50.0040.00418.10
8.2.40.0030.00620.67
8.2.30.0030.00521.10
8.2.20.0030.00618.09
8.2.10.0000.00718.33
8.2.00.0060.00318.25
8.1.280.0070.01125.92
8.1.270.0040.00424.13
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0030.00722.83
8.1.230.0000.01119.35
8.1.220.0030.00517.90
8.1.210.0060.00318.77
8.1.200.0060.00317.48
8.1.190.0050.00317.36
8.1.180.0060.00318.10
8.1.170.0030.00718.75
8.1.160.0000.00719.22
8.1.150.0040.00420.75
8.1.140.0000.01119.69
8.1.130.0070.00019.07
8.1.120.0000.00717.57
8.1.110.0060.00317.61
8.1.100.0000.00717.59
8.1.90.0040.00417.56
8.1.80.0100.00017.57
8.1.70.0040.00417.61
8.1.60.0000.00817.70
8.1.50.0040.00417.78
8.1.40.0070.00417.56
8.1.30.0060.00317.80
8.1.20.0040.00717.87
8.1.10.0040.00417.56
8.1.00.0040.00417.54
8.0.300.0030.00518.77
8.0.290.0090.00017.00
8.0.280.0000.00718.66
8.0.270.0040.00417.34
8.0.260.0000.00717.00
8.0.250.0030.00317.17
8.0.240.0050.00317.17
8.0.230.0000.00717.16
8.0.220.0030.00317.20
8.0.210.0070.00017.17
8.0.200.0000.00717.13
8.0.190.0060.00317.14
8.0.180.0070.00017.08
8.0.170.0030.00417.11
8.0.160.0000.00716.99
8.0.150.0000.00817.03
8.0.140.0000.00817.07
8.0.130.0000.00613.73
8.0.120.0050.00317.24
8.0.110.0040.00417.24
8.0.100.0070.00017.13
8.0.90.0040.00417.06
8.0.80.0120.00617.16
8.0.70.0050.00317.12
8.0.60.0000.00717.05
8.0.50.0080.00017.15
8.0.30.0100.00917.25
8.0.20.0090.01317.40
8.0.10.0000.00717.17
8.0.00.0120.00917.00
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0030.00316.67
7.4.290.0030.00616.56
7.4.280.0050.00316.62
7.4.270.0030.00316.63
7.4.260.0000.00613.42
7.4.250.0080.00016.59
7.4.240.0030.00516.75
7.4.230.0000.00716.55
7.4.220.0120.01516.91
7.4.210.0060.01016.79
7.4.200.0040.00416.76
7.4.160.0080.00916.78
7.4.150.0060.01317.40
7.4.140.0080.01517.86
7.4.130.0240.00316.84
7.4.120.0120.00716.75
7.4.110.0080.01216.82
7.4.100.0150.00316.74
7.4.90.0040.01316.80
7.4.80.0160.00319.39
7.4.70.0030.01316.74
7.4.60.0070.01116.79
7.4.50.0070.01116.73
7.4.40.0070.01016.79
7.4.30.0030.01316.89
7.4.00.0030.01214.93
7.3.330.0070.00013.35
7.3.320.0050.00013.30
7.3.310.0030.00616.41
7.3.300.0030.00316.53
7.3.290.0070.00916.57
7.3.280.0070.01116.54
7.3.270.0110.00817.40
7.3.260.0140.00716.65
7.3.250.0100.01116.54
7.3.240.0120.00916.69
7.3.230.0180.00616.78
7.3.210.0060.01216.46
7.3.200.0140.00416.73
7.3.190.0030.01416.75
7.3.180.0150.00616.55
7.3.170.0110.00716.54
7.3.160.0100.00716.65
7.3.120.0100.01315.07
7.3.110.0150.00314.95
7.3.100.0000.01315.12
7.3.90.0030.01015.07
7.3.80.0110.00414.93
7.3.70.0090.00914.80
7.3.60.0030.01414.82
7.3.50.0000.01315.00
7.3.40.0100.00714.83
7.3.30.0100.00715.04
7.3.20.0110.00716.98
7.3.10.0060.00316.98
7.3.00.0000.01316.54
7.2.330.0140.00616.78
7.2.320.0040.01516.79
7.2.310.0170.00016.79
7.2.300.0090.00916.66
7.2.290.0200.00316.94
7.2.240.0090.00914.79
7.2.230.0040.00715.22
7.2.220.0070.00714.69
7.2.210.0100.00715.00
7.2.200.0030.01315.02
7.2.190.0070.00715.32
7.2.180.0030.01315.14
7.2.170.0070.00715.23
7.2.160.0060.01014.91
7.2.150.0080.00517.10
7.2.140.0060.00617.17
7.2.130.0070.00717.05
7.2.120.0040.00717.01
7.2.110.0030.01416.82
7.2.100.0070.01017.14
7.2.90.0030.01017.15
7.2.80.0040.01116.89
7.2.70.0090.00617.14
7.2.60.0080.00617.04
7.2.50.0030.00617.17
7.2.40.0030.01317.05
7.2.30.0040.01116.98
7.2.20.0060.01017.20
7.2.10.0000.01616.96
7.2.00.0120.00316.90
7.1.330.0060.01616.05
7.1.320.0110.00816.07
7.1.310.0060.00315.76
7.1.300.0060.01015.97
7.1.290.0080.00415.98
7.1.280.0030.01915.93
7.1.270.0130.00616.02
7.1.260.0060.00616.13
7.1.250.0060.00615.93
7.1.200.0090.00616.03
7.1.70.0030.00617.52
7.1.60.3500.00733.38
7.1.50.3100.01733.44
7.1.40.3330.01732.83
7.1.30.5200.01733.10
7.1.20.3430.01333.14
7.1.10.2400.01014.95
7.1.00.4800.01715.02
7.0.200.3500.01015.25
7.0.190.4770.01715.22
7.0.180.3030.01314.49
7.0.170.4130.01014.59
7.0.160.4870.01314.87
7.0.150.2500.01314.86
7.0.140.3330.01014.61
7.0.130.3200.01014.71
7.0.120.3930.02015.07
7.0.110.2300.01314.55
7.0.100.2000.02014.70
7.0.90.1600.01714.50
7.0.80.2700.01314.97
7.0.70.2700.01314.80
7.0.60.2000.01014.60
7.0.50.1500.01314.66
7.0.40.1500.01014.84
7.0.30.1630.01315.00
7.0.20.1430.01714.99
7.0.10.1500.00714.77
7.0.00.1530.00314.77

preferences:
47.31 ms | 400 KiB | 5 Q