3v4l.org

run code in 300+ PHP versions simultaneously
<?php $searchdata = array("id" => 1, "name" => "", "type" => "foo"); $conditions = array('Question.id' => $searchdata['id'], 'Question.name' => $searchdata['name'], "Question.type" => $searchdata['type']); print_r($conditions);

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.40.0070.01718.71
8.3.30.0120.00318.97
8.3.20.0000.00720.21
8.3.10.0040.00423.47
8.3.00.0090.00020.45
8.2.170.0150.00322.96
8.2.160.0070.00722.25
8.2.150.0040.01424.18
8.2.140.0080.00024.66
8.2.130.0140.00026.16
8.2.120.0080.00017.50
8.2.110.0030.00622.17
8.2.100.0120.00017.72
8.2.90.0000.00818.98
8.2.80.0000.00818.04
8.2.70.0070.00717.36
8.2.60.0050.00317.80
8.2.50.0080.00418.07
8.2.40.0000.00919.82
8.2.30.0050.00318.04
8.2.20.0070.00017.68
8.2.10.0020.00517.72
8.2.00.0050.00317.73
8.1.270.0040.00423.92
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00023.90
8.1.230.0070.00419.14
8.1.220.0100.00017.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0030.00518.55
8.1.160.0000.00721.85
8.1.150.0040.00418.57
8.1.140.0000.00717.48
8.1.130.0030.00317.75
8.1.120.0030.00317.40
8.1.110.0040.00417.34
8.1.100.0040.00417.28
8.1.90.0040.00717.39
8.1.80.0000.00717.27
8.1.70.0000.00717.29
8.1.60.0050.00317.50
8.1.50.0000.00817.34
8.1.40.0040.00417.47
8.1.30.0040.00417.45
8.1.20.0030.00617.59
8.1.10.0000.00717.36
8.1.00.0060.00317.50
8.0.300.0000.00718.77
8.0.290.0000.00817.05
8.0.280.0000.00718.34
8.0.270.0030.00317.27
8.0.260.0030.00316.79
8.0.250.0030.00316.87
8.0.240.0000.00716.84
8.0.230.0030.00316.87
8.0.220.0030.00316.78
8.0.210.0030.00316.86
8.0.200.0030.00316.82
8.0.190.0000.00716.79
8.0.180.0030.00516.73
8.0.170.0080.00016.74
8.0.160.0000.00816.84
8.0.150.0030.00316.79
8.0.140.0000.00716.80
8.0.130.0080.00013.22
8.0.120.0060.00316.77
8.0.110.0000.00716.71
8.0.100.0040.00416.88
8.0.90.0000.00716.88
8.0.80.0000.01516.86
8.0.70.0040.00416.81
8.0.60.0040.00316.68
8.0.50.0040.00416.81
8.0.30.0110.00816.94
8.0.20.0110.00717.40
8.0.10.0000.00716.85
8.0.00.0100.01016.82
7.4.330.0000.00515.09
7.4.320.0060.00016.44
7.4.300.0000.00616.42
7.4.290.0000.00716.45
7.4.280.0000.00616.42
7.4.270.0040.00416.57
7.4.260.0030.00316.42
7.4.250.0000.00716.33
7.4.240.0060.00216.49
7.4.230.0030.00316.23
7.4.220.0030.01316.50
7.4.210.0100.00816.51
7.4.200.0030.00316.31
7.4.190.0050.00216.60
7.4.160.0080.00816.35
7.4.150.0170.00717.40
7.4.140.0120.00517.86
7.4.130.0090.00716.45
7.4.120.0080.00816.47
7.4.110.0150.00316.25
7.4.100.0040.01416.28
7.4.90.0150.00616.31
7.4.80.0100.00616.41
7.4.70.0130.00616.36
7.4.60.0080.00916.58
7.4.50.0030.00616.37
7.4.40.0030.01322.77
7.4.30.0070.01016.35
7.4.00.0080.00814.85
7.3.330.0000.00613.00
7.3.320.0000.00613.17
7.3.310.0040.00416.09
7.3.300.0000.00716.30
7.3.290.0060.01316.16
7.3.280.0090.00616.16
7.3.270.0000.01817.40
7.3.260.0150.00316.28
7.3.250.0150.00716.42
7.3.240.0160.00016.41
7.3.230.0130.00316.42
7.3.210.0060.01116.46
7.3.200.0090.00919.39
7.3.190.0100.00616.28
7.3.180.0100.00716.46
7.3.170.0150.00616.29
7.3.160.0060.00916.25
7.3.120.0090.00814.89
7.3.110.0030.01414.75
7.3.100.0070.01014.64
7.3.90.0060.00614.79
7.3.80.0040.01214.54
7.3.70.0060.00614.64
7.3.60.0030.01014.71
7.3.50.0030.01014.47
7.3.40.0030.00614.84
7.3.30.0070.00714.79
7.3.20.0100.00616.73
7.3.10.0100.00616.64
7.3.00.0060.00316.57
7.2.330.0120.00816.46
7.2.320.0090.00616.62
7.2.310.0100.00616.41
7.2.300.0000.01716.70
7.2.290.0060.01116.52
7.2.250.0160.00315.14
7.2.240.0100.01015.04
7.2.230.0030.01414.71
7.2.220.0060.00814.88
7.2.210.0060.00315.02
7.2.200.0120.00014.87
7.2.190.0060.00614.65
7.2.180.0060.01014.77
7.2.170.0030.01014.70
7.2.00.0070.00719.30
7.1.330.0060.00915.99
7.1.320.0070.00315.92
7.1.310.0120.00015.64
7.1.300.0090.00615.73
7.1.290.0030.01015.77
7.1.280.0070.00315.79
7.1.270.0030.01015.94
7.1.260.0090.00015.78
7.1.200.0100.00315.70
7.1.100.0040.00918.21
7.1.70.0030.00616.87
7.1.60.0140.01019.32
7.1.50.0030.02216.95
7.1.00.0070.07322.35
7.0.200.0050.00516.56
7.0.140.0030.07322.18
7.0.100.0100.08319.93
7.0.90.0200.07020.01
7.0.80.0070.05020.00
7.0.70.0070.07719.96
7.0.60.0070.07019.94
7.0.50.0030.04720.36
7.0.40.0070.08320.04
7.0.30.0030.08020.18
7.0.20.0030.05020.18
7.0.10.0100.04720.17
7.0.00.0070.05720.14
5.6.280.0070.07020.91
5.6.250.0100.08720.59
5.6.240.0030.07320.71
5.6.230.0030.08320.58
5.6.220.0070.04020.61
5.6.210.0070.05720.59
5.6.200.0000.08320.95
5.6.190.0100.04321.13
5.6.180.0100.08021.05
5.6.170.0100.05021.04
5.6.160.0130.05021.07
5.6.150.0130.06321.01
5.6.140.0270.03021.10
5.6.130.0130.07721.07
5.6.120.0000.05321.16
5.6.110.0100.07721.07
5.6.100.0030.08720.93
5.6.90.0000.04721.01
5.6.80.0130.04020.43
5.6.70.0100.06320.42
5.6.60.0000.05020.33
5.6.50.0030.07720.51
5.6.40.0030.04720.40
5.6.30.0070.08320.36
5.6.20.0100.04320.45
5.6.10.0100.07320.36
5.6.00.0100.05020.50
5.5.380.0070.06720.45
5.5.370.0070.08020.36
5.5.360.0070.05020.34
5.5.350.0200.07320.41
5.5.340.0100.07020.68
5.5.330.0070.05020.75
5.5.320.0070.08320.88
5.5.310.0100.06320.63
5.5.300.0030.07020.83
5.5.290.0000.08020.77
5.5.280.0030.05020.82
5.5.270.0070.04020.79
5.5.260.0070.04020.79
5.5.250.0100.07320.57
5.5.240.0030.06720.14
5.5.230.0070.07020.20
5.5.220.0070.05320.24
5.5.210.0000.04320.20
5.5.200.0130.05320.15
5.5.190.0070.04720.25
5.5.180.0030.07720.17
5.5.160.0100.05720.25
5.5.150.0100.06020.22
5.5.140.0000.08020.15
5.5.130.0100.07720.22
5.5.120.0070.08320.14
5.5.110.0030.08020.20
5.5.100.0030.07720.09
5.5.90.0170.03719.96
5.5.80.0170.05720.07
5.5.70.0130.07320.05
5.5.60.0000.08020.04
5.5.50.0030.04720.14
5.5.40.0030.04320.14
5.5.30.0070.04720.13
5.5.20.0030.06720.04
5.5.10.0070.08320.08
5.5.00.0170.06020.10
5.4.450.0070.04719.40
5.4.440.0070.04719.38
5.4.430.0070.05319.39
5.4.420.0070.06719.46
5.4.410.0000.05019.34
5.4.400.0030.07719.08
5.4.390.0030.05018.83
5.4.380.0070.04019.07
5.4.370.0100.07018.95
5.4.360.0070.07719.05
5.4.350.0000.08018.81
5.4.340.0130.06018.98
5.4.320.0070.03718.95
5.4.310.0030.04019.05
5.4.300.0070.03719.07
5.4.290.0070.07718.98
5.4.280.0130.04019.02
5.4.270.0030.06718.98
5.4.260.0100.07719.09
5.4.250.0100.04019.13
5.4.240.0130.05719.04
5.4.230.0000.07319.04
5.4.220.0100.07019.02
5.4.210.0100.06719.04
5.4.200.0030.06319.09
5.4.190.0030.05019.06
5.4.180.0130.04319.21
5.4.170.0070.06019.13
5.4.160.0100.07019.01
5.4.150.0070.04719.12
5.4.140.0070.07716.33
5.4.130.0100.06316.27
5.4.120.0170.03016.26
5.4.110.0100.06016.43
5.4.100.0030.03716.30
5.4.90.0100.03316.21
5.4.80.0170.06716.29
5.4.70.0130.06016.32
5.4.60.0030.07716.21
5.4.50.0030.04316.40
5.4.40.0100.03716.33
5.4.30.0030.07016.39
5.4.20.0130.06716.40
5.4.10.0130.03716.34
5.4.00.0070.07315.78
5.3.290.0100.07014.65
5.3.280.0030.04014.59
5.3.270.0070.04014.59
5.3.260.0030.07314.42
5.3.250.0100.05314.54
5.3.240.0070.07714.59
5.3.230.0000.04714.53
5.3.220.0000.05014.55
5.3.210.0000.08314.54
5.3.200.0070.07714.42
5.3.190.0070.08314.50
5.3.180.0100.06314.50
5.3.170.0030.06714.47
5.3.160.0070.04314.49
5.3.150.0170.06314.52
5.3.140.0100.06714.50
5.3.130.0030.04714.56
5.3.120.0030.07714.48
5.3.110.0070.06714.54
5.3.100.0070.07313.95
5.3.90.0100.08013.83
5.3.80.0100.05313.97
5.3.70.0070.03314.01
5.3.60.0030.03314.01
5.3.50.0000.06713.80
5.3.40.0030.04013.80
5.3.30.0100.05713.86
5.3.20.0170.07713.46
5.3.10.0030.07013.66
5.3.00.0000.04713.39
5.2.170.0030.06312.11
5.2.160.0070.06012.11
5.2.150.0000.06712.11
5.2.140.0070.05312.11
5.2.130.0070.05712.11
5.2.120.0070.05712.11
5.2.110.0000.06012.11
5.2.100.0030.05712.11
5.2.90.0130.05012.11
5.2.80.0030.06012.11
5.2.70.0100.02312.11
5.2.60.0000.06012.11
5.2.50.0100.05012.11
5.2.40.0100.03312.11
5.2.30.0030.03312.11
5.2.20.0030.03012.11
5.2.10.0130.04712.11
5.2.00.0070.05312.11
5.1.60.0070.04012.11
5.1.50.0030.05012.11
5.1.40.0100.03712.11
5.1.30.0000.05312.11
5.1.20.0030.05312.11
5.1.10.0000.03712.11
5.1.00.0030.03012.11
5.0.50.0100.03712.11
5.0.40.0030.04312.11
5.0.30.0030.06012.11
5.0.20.0000.03712.11
5.0.10.0000.04312.11
5.0.00.0070.06012.11
4.4.90.0030.03312.11
4.4.80.0000.03312.11
4.4.70.0000.02312.11
4.4.60.0000.02312.11
4.4.50.0000.01712.11
4.4.40.0100.02312.11
4.4.30.0070.03012.11
4.4.20.0030.03312.11
4.4.10.0000.03312.11
4.4.00.0030.04012.11
4.3.110.0030.03312.11
4.3.100.0000.03712.11
4.3.90.0000.03312.11
4.3.80.0000.05312.11
4.3.70.0070.03012.11
4.3.60.0030.03012.11
4.3.50.0000.02012.11
4.3.40.0000.03312.11
4.3.30.0030.03312.11
4.3.20.0000.03312.11
4.3.10.0070.01712.11
4.3.00.0030.01312.11

preferences:
39.93 ms | 400 KiB | 5 Q