3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query = [ 'set1' => ['col1' => 'val1', 'col2'=> 'val2'], 'set2' => ['col1' => 'val3', 'col2'=> 'val4']]; var_dump($query['set1'] === $query['set2']);

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.4.20.0160.00319.45
8.4.10.0090.00017.52
8.3.150.0090.00917.22
8.3.140.0120.00618.08
8.3.130.0090.00018.29
8.3.120.0060.00318.73
8.3.110.0040.00420.94
8.3.100.0030.01324.06
8.3.90.0070.01126.77
8.3.80.0060.00318.43
8.3.70.0110.00718.43
8.3.60.0120.00416.63
8.3.50.0080.00817.93
8.3.40.0090.00618.69
8.3.30.0060.00918.85
8.3.20.0000.00819.20
8.3.10.0080.00020.94
8.3.00.0070.00023.52
8.2.260.0110.00318.85
8.2.250.0080.00016.71
8.2.240.0160.00017.05
8.2.230.0060.00322.58
8.2.220.0100.00037.54
8.2.210.0050.00326.77
8.2.200.0000.00916.38
8.2.190.0070.00716.75
8.2.180.0150.00016.35
8.2.170.0070.00722.96
8.2.160.0070.00721.11
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0080.00019.52
8.2.120.0080.00026.35
8.2.110.0110.00022.16
8.2.100.0080.00417.72
8.2.90.0000.00718.28
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0000.00718.22
8.2.30.0040.00417.94
8.2.20.0040.00418.06
8.2.10.0030.00518.04
8.2.00.0000.00719.39
8.1.310.0080.00016.70
8.1.300.0090.00918.56
8.1.290.0030.00730.84
8.1.280.0070.01125.92
8.1.270.0040.00422.19
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.73
8.1.230.0070.00420.90
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0050.00518.89
8.1.180.0040.00418.10
8.1.170.0000.00918.31
8.1.160.0040.00418.81
8.1.150.0070.00018.82
8.1.140.0000.00717.64
8.1.130.0000.00817.32
8.1.120.0020.00517.28
8.1.110.0020.00517.27
8.1.100.0040.00417.38
8.1.90.0110.00017.35
8.1.80.0040.00417.39
8.1.70.0000.00817.30
8.1.60.0060.00317.37
8.1.50.0060.00317.41
8.1.40.0000.00817.43
8.1.30.0070.00417.59
8.1.20.0000.00817.59
8.1.10.0050.00317.57
8.1.00.0040.00417.57
8.0.300.0040.00419.90
8.0.290.0090.00016.63
8.0.280.0050.00318.37
8.0.270.0030.00317.10
8.0.260.0030.00316.64
8.0.250.0000.00916.77
8.0.240.0040.00416.91
8.0.230.0000.00816.76
8.0.220.0030.00316.82
8.0.210.0030.00316.71
8.0.200.0030.00316.88
8.0.190.0060.00316.93
8.0.180.0000.00716.78
8.0.170.0040.00416.86
8.0.160.0000.00716.72
8.0.150.0030.00616.75
8.0.140.0050.00216.77
8.0.130.0000.00513.19
8.0.120.0040.00416.82
8.0.110.0040.00416.76
8.0.100.0000.00716.65
8.0.90.0000.00716.63
8.0.80.0090.01216.78
8.0.70.0040.00416.82
8.0.60.0000.00816.62
8.0.50.0070.00016.71
8.0.30.0110.00717.02
8.0.20.0070.01117.40
8.0.10.0040.00416.83
8.0.00.0100.00716.65
7.4.330.0020.00215.55
7.4.320.0000.00616.42
7.4.300.0070.00016.46
7.4.290.0030.00316.60
7.4.280.0040.00416.49
7.4.270.0000.00716.47
7.4.260.0000.00716.50
7.4.250.0040.00416.61
7.4.240.0000.00816.48
7.4.230.0000.00716.38
7.4.220.0040.00416.43
7.4.210.0070.01016.53
7.4.200.0030.00316.61
7.4.160.0090.00916.50
7.4.140.0100.00817.86
7.4.130.0070.01016.52
7.4.120.0130.00816.46
7.4.110.0100.00716.39
7.4.100.0150.00316.46
7.4.90.0030.01316.51
7.4.80.0140.00319.39
7.4.70.0090.01216.41
7.4.60.0090.00616.54
7.4.50.0120.00316.64
7.4.40.0170.00316.41
7.4.00.0020.01414.88
7.3.330.0000.00513.07
7.3.320.0000.00613.01
7.3.310.0070.00016.32
7.3.300.0000.00716.26
7.3.290.0070.00016.16
7.3.280.0040.01116.21
7.3.260.0160.01416.27
7.3.240.0060.01216.46
7.3.230.0140.00316.31
7.3.210.0100.00716.46
7.3.200.0180.00316.57
7.3.190.0030.01216.30
7.3.180.0030.01716.21
7.3.170.0070.01016.38
7.3.160.0070.01016.58
7.3.120.0080.00614.59
7.3.110.0030.01014.83
7.3.100.0080.00614.97
7.3.90.0000.01414.78
7.3.80.0030.01214.93
7.3.70.0060.00314.86
7.3.60.0040.00414.61
7.3.50.0000.01414.43
7.3.40.0110.00414.66
7.3.30.0040.00814.91
7.3.20.0070.00716.58
7.3.10.0030.01016.58
7.3.00.0040.00716.48
7.2.330.0110.00716.50
7.2.320.0100.00716.62
7.2.310.0100.01316.29
7.2.300.0150.00716.36
7.2.290.0120.01316.69
7.2.250.0110.00415.16
7.2.240.0070.01315.09
7.2.230.0070.01115.00
7.2.220.0160.00015.11
7.2.210.0070.00714.92
7.2.200.0030.01215.04
7.2.190.0000.01114.84
7.2.180.0100.00715.08
7.2.170.0060.01014.98
7.2.60.0760.00914.79
7.2.50.0850.00714.95
7.2.40.0750.01015.22
7.2.30.0800.00715.36
7.2.20.1050.01315.10
7.2.10.0830.01115.03
7.2.00.0120.00815.18
7.1.330.0000.01115.85
7.1.320.0030.00715.75
7.1.310.0060.00315.80
7.1.300.0060.00615.71
7.1.290.0050.00515.70
7.1.280.0100.00315.74
7.1.270.0030.00615.71
7.1.260.0080.00015.86
7.1.200.0060.00615.95
7.1.170.0830.00713.55
7.1.160.0750.01116.51
7.1.150.1140.00916.49
7.1.140.1090.01116.52
7.1.130.0940.00816.61
7.1.120.1370.01316.55
7.1.110.0570.01316.25
7.1.100.0160.00616.40
7.1.90.1060.01016.25
7.1.80.1160.01016.18
7.1.70.1310.01215.12
7.1.60.0410.01633.13
7.1.50.0910.01332.63
7.1.40.1200.01332.61
7.1.30.0390.01332.71
7.1.20.1600.01832.67
7.1.10.1230.01014.89
7.1.00.1110.00814.83

preferences:
31.4 ms | 406 KiB | 6 Q