3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dados = array( 'fields' => array( 'Cidade', 'Bairro' ) ); $key = 'cb3c6cf28c6f5dff6e7416324dadad01'; //Informe sua chave aqui $postFields = json_encode( $dados ); $url = 'http://marcelod-rest.vistahost.com.br/imoveis/detalhes?key=' . $key; $url .= '&pesquisa=' . $postFields; $ch = curl_init($url); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt( $ch, CURLOPT_HTTPHEADER , array( 'Accept: application/json' ) ); $result = curl_exec( $ch ); $result = json_decode( $result, true ); print_r( $result );

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.0150.00816.75
8.3.60.0110.00716.50
8.3.50.0100.01021.09
8.3.40.0070.00718.79
8.3.30.0090.00618.79
8.3.20.0040.00420.24
8.3.10.0040.00423.40
8.3.00.0070.00021.73
8.2.180.0120.00916.50
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0030.00621.05
8.2.120.0080.00026.35
8.2.110.0070.00421.03
8.2.100.0090.00618.03
8.2.90.0040.00419.16
8.2.80.0060.00318.05
8.2.70.0030.00617.75
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0000.01020.55
8.2.30.0030.00319.39
8.2.20.0030.00519.48
8.2.10.0000.00718.14
8.2.00.0080.00018.13
8.1.280.0040.01125.92
8.1.270.0120.00322.20
8.1.260.0050.00528.09
8.1.250.0120.00328.09
8.1.240.0060.00319.30
8.1.230.0070.00421.08
8.1.220.0030.00517.77
8.1.210.0050.00318.77
8.1.200.0100.00017.38
8.1.190.0040.00417.35
8.1.180.0030.00918.10
8.1.170.0080.00018.41
8.1.160.0040.00420.68
8.1.150.0000.00720.57
8.1.140.0050.00319.41
8.1.130.0030.00717.75
8.1.120.0030.00317.43
8.1.110.0000.00817.30
8.1.100.0040.00417.30
8.1.90.0000.00817.42
8.1.80.0000.00717.37
8.1.70.0000.00717.45
8.1.60.0040.00417.51
8.1.50.0080.00017.45
8.1.40.0000.00817.50
8.1.30.0000.00917.66
8.1.20.0050.00317.66
8.1.10.0000.00717.66
8.1.00.0030.00517.44
8.0.300.0000.00918.77
8.0.290.0000.00816.88
8.0.280.0030.00318.48
8.0.270.0000.00717.28
8.0.260.0060.00017.18
8.0.250.0040.00417.05
8.0.240.0030.00517.13
8.0.230.0040.00417.05
8.0.220.0040.00416.87
8.0.210.0030.00317.02
8.0.200.0000.00716.99
8.0.190.0060.00317.07
8.0.180.0000.00717.01
8.0.170.0090.00316.98
8.0.160.0030.00316.92
8.0.150.0040.00416.93
8.0.140.0050.00316.80
8.0.130.0050.00013.34
8.0.120.0040.00416.93
8.0.110.0050.00316.97
8.0.100.0000.00717.07
8.0.90.0030.00616.76
8.0.80.0030.01116.85
8.0.70.0040.00416.91
8.0.60.0070.00016.79
8.0.50.0040.00416.93
8.0.30.0080.00817.08
8.0.20.0090.01017.40
8.0.10.0000.00717.08
8.0.00.0120.00916.80
7.4.330.0000.00516.69
7.4.320.0020.00516.56
7.4.300.0050.00216.43
7.4.290.0070.00316.39
7.4.280.0040.00416.59
7.4.270.0080.00016.64
7.4.260.0000.00716.65
7.4.250.0040.00416.52
7.4.240.0000.00716.66
7.4.230.0060.00316.68
7.4.220.0140.00316.55
7.4.210.0050.01016.67
7.4.200.0000.00716.44
7.4.160.0040.01116.46
7.4.150.0110.00717.40
7.4.140.0060.01517.86
7.4.130.0110.01116.50
7.4.120.0140.00416.67
7.4.110.0090.00916.59
7.4.100.0090.00616.39
7.4.90.0030.01516.48
7.4.80.0070.01019.39
7.4.70.0060.01316.59
7.4.60.0040.01416.50
7.4.50.0000.01216.25
7.4.40.0090.00616.64
7.4.30.0110.01216.66
7.4.00.0150.00014.76
7.3.330.0030.00313.12
7.3.320.0050.00013.19
7.3.310.0030.00316.18
7.3.300.0070.00016.26
7.3.290.0090.00616.39
7.3.280.0090.00816.35
7.3.270.0110.01217.40
7.3.260.0110.01116.55
7.3.240.0060.01016.53
7.3.230.0110.00716.39
7.3.210.0030.01316.61
7.3.200.0130.00719.39
7.3.190.0130.00316.48
7.3.180.0090.00616.41
7.3.170.0150.00616.48
7.3.160.0110.00616.54
7.2.330.0070.01016.64
7.2.320.0090.00916.58
7.2.310.0130.01016.38
7.2.300.0130.01016.70
7.2.290.0090.01216.68
7.2.60.0080.00816.59
7.2.00.0030.01019.42
7.1.200.0030.01315.80
7.1.100.0100.00717.99
7.1.70.0000.00817.22
7.1.60.0110.01419.40
7.1.50.0100.01016.99
7.1.00.0100.07022.40
7.0.200.0040.00716.70
7.0.90.0600.07020.03
7.0.80.0070.06319.94
7.0.70.0100.05719.88
7.0.60.0530.06019.85
7.0.50.0500.08320.30
7.0.40.0100.07020.00
7.0.30.0030.05320.09
7.0.20.0070.08020.12
7.0.10.0130.07719.95
7.0.00.0100.04720.12
5.6.280.0000.07321.07
5.6.240.0070.08020.66
5.6.230.0070.08020.63
5.6.220.0230.05020.73
5.6.210.0100.08720.64
5.6.200.0070.05321.17
5.6.190.0100.08021.02
5.6.180.0070.08021.05
5.6.170.0070.07721.02
5.6.160.0100.10321.12
5.6.150.0170.07321.08
5.6.140.0030.05021.02
5.6.130.0200.06721.04
5.6.120.0070.05321.04
5.6.110.0170.03721.06
5.6.100.0130.07721.11
5.6.90.0070.08720.98
5.6.80.0130.05720.40
5.6.70.0130.06320.47
5.6.60.0030.07720.44
5.6.50.0000.08020.39
5.6.40.0000.04320.46
5.6.30.0200.08020.38
5.6.20.0100.03720.37
5.6.10.0070.07320.41
5.6.00.0100.08320.42
5.5.380.0000.08320.57
5.5.370.0100.07720.44
5.5.360.0070.04020.35
5.5.350.0070.07720.37
5.5.340.0070.08020.82
5.5.330.0070.04720.86
5.5.320.0170.07320.73
5.5.310.0100.07320.77
5.5.300.0070.08720.88
5.5.290.0070.08320.87
5.5.280.0170.07320.84
5.5.270.0070.07720.88
5.5.260.0030.05720.87
5.5.250.0100.08020.45
5.5.240.0130.04320.32
5.5.230.0030.08720.29
5.5.220.0130.04020.14
5.5.210.0070.08320.14
5.5.200.0070.05020.15
5.5.190.0000.06320.21
5.5.180.0030.08320.21
5.5.160.0130.07020.26
5.5.150.0130.07020.26
5.5.140.0130.07320.12
5.5.130.0070.07720.25
5.5.120.0130.07320.12
5.5.110.0100.07720.25
5.5.100.0070.07720.16
5.5.90.0130.04320.07
5.5.80.0000.08720.11
5.5.70.0070.07720.10
5.5.60.0100.08020.14
5.5.50.0070.04320.10
5.5.40.0030.09020.09
5.5.30.0130.07020.05
5.5.20.0170.06720.07
5.5.10.0100.05020.09
5.5.00.0070.04320.10

preferences:
41.52 ms | 401 KiB | 5 Q