3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = [ 'must' => [ [ 'match' => [ 'testField' => 'abc' ] ], [ 'match' => [ 'testField2' => 'xyz' ] ], ] ]; var_dump($ar);

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.43
8.3.50.0110.01117.83
8.3.40.0200.00018.65
8.3.30.0030.01318.53
8.3.20.0060.00321.55
8.3.10.0070.00723.66
8.3.00.0040.00423.50
8.2.180.0140.00716.63
8.2.170.0090.00622.96
8.2.160.0100.00720.00
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.05
8.2.110.0030.00619.30
8.2.100.0100.00317.78
8.2.90.0040.00417.78
8.2.80.0070.00019.16
8.2.70.0000.00817.80
8.2.60.0000.00818.03
8.2.50.0000.00818.10
8.2.40.0000.00819.03
8.2.30.0040.00419.04
8.2.20.0040.00418.04
8.2.10.0070.00019.13
8.2.00.0040.00419.23
8.1.280.0090.00625.92
8.1.270.0060.01218.78
8.1.260.0080.00026.35
8.1.250.0120.00628.09
8.1.240.0110.00022.08
8.1.230.0060.00620.97
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0060.00317.10
8.1.180.0080.00318.10
8.1.170.0040.00418.50
8.1.160.0040.00418.94
8.1.150.0070.00018.71
8.1.140.0000.00720.56
8.1.130.0000.00717.29
8.1.120.0030.00317.28
8.1.110.0000.00817.30
8.1.100.0050.00217.32
8.1.90.0050.00317.27
8.1.80.0040.00417.40
8.1.70.0070.00017.37
8.1.60.0050.00317.43
8.1.50.0080.00017.41
8.1.40.0030.00517.41
8.1.30.0000.00817.57
8.1.20.0040.00417.42
8.1.10.0050.00317.43
8.1.00.0030.00517.34
8.0.300.0050.00319.90
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0000.00717.18
8.0.260.0000.00716.78
8.0.250.0060.00016.91
8.0.240.0040.00416.77
8.0.230.0030.00316.89
8.0.220.0020.00516.80
8.0.210.0030.00316.70
8.0.200.0000.00616.87
8.0.190.0000.00816.83
8.0.180.0040.00416.72
8.0.170.0060.00316.83
8.0.160.0000.00816.80
8.0.150.0030.00916.76
8.0.140.0000.00716.81
8.0.130.0030.00313.23
8.0.120.0050.00316.79
8.0.110.0050.00316.75
8.0.100.0070.00016.63
8.0.90.0000.00816.68
8.0.80.0080.00816.81
8.0.70.0040.00416.87
8.0.60.0050.00316.85
8.0.50.0000.00716.75
8.0.30.0100.00917.05
8.0.20.0000.02017.40
8.0.10.0070.00016.87
8.0.00.0200.00616.79
7.4.330.0030.00315.55
7.4.320.0000.00616.52
7.4.300.0030.00316.43
7.4.290.0000.00716.52
7.4.280.0050.00216.45
7.4.270.0070.00016.52
7.4.260.0030.00616.30
7.4.250.0040.00416.29
7.4.240.0070.00016.45
7.4.230.0050.00316.54
7.4.220.0000.00816.50
7.4.210.0100.00616.35
7.4.200.0070.00016.32
7.4.160.0050.01016.41
7.4.140.0120.00917.86
7.4.130.0120.00616.27
7.4.120.0120.01216.27
7.4.110.0080.00816.44
7.4.100.0110.00816.36
7.4.90.0040.01316.36
7.4.80.0110.00619.39
7.4.70.0090.00916.14
7.4.60.0100.01316.39
7.4.50.0000.01216.12
7.4.40.0120.00916.32
7.4.10.0120.00614.87
7.4.00.0040.00914.84
7.3.330.0000.00512.88
7.3.320.0030.00312.87
7.3.310.0030.00616.23
7.3.300.0030.00316.10
7.3.290.0060.00015.96
7.3.280.0050.00916.15
7.3.260.0110.00716.27
7.3.240.0100.00916.20
7.3.230.0070.01716.36
7.3.210.0120.00816.06
7.3.200.0130.00416.28
7.3.190.0170.00016.39
7.3.180.0080.00816.35
7.3.170.0130.00716.14
7.3.160.0100.01016.19
7.3.130.0100.01014.70
7.3.120.0040.01114.46
7.3.110.0070.01014.63
7.3.100.0000.01514.37
7.3.90.0090.00314.47
7.3.80.0080.00814.77
7.3.70.0120.00414.76
7.3.60.0000.01014.53
7.3.50.0060.00314.68
7.3.40.0000.01214.55
7.3.30.0120.00314.70
7.3.20.0060.00916.51
7.3.10.0250.00315.37
7.3.00.0110.00915.53
7.2.330.0110.00816.52
7.2.320.0000.01716.65
7.2.310.0100.00716.26
7.2.300.0090.00916.47
7.2.290.0090.00916.33
7.2.260.0030.01214.65
7.2.250.0090.00914.98
7.2.240.0060.00914.52
7.2.230.0040.01215.00
7.2.220.0170.00014.63
7.2.210.0050.00514.62
7.2.200.0030.01014.67
7.2.190.0060.00614.92
7.2.180.0030.00614.86
7.2.170.0070.00714.57
7.2.160.0120.00314.79
7.2.150.0040.00716.66
7.2.140.0060.00316.52
7.2.130.0100.01115.92
7.2.120.0220.00615.85
7.2.110.0170.00415.72
7.2.100.0180.00515.77
7.2.90.0170.00715.81
7.2.80.0240.01015.73
7.2.70.0130.00915.54
7.2.60.0240.00415.69
7.2.50.0220.00515.77
7.2.40.0150.00915.85
7.2.30.0190.00315.57
7.2.20.0690.00915.59
7.2.10.0190.01315.79
7.2.00.0170.00615.61
7.1.330.0070.00715.99
7.1.320.0070.01015.44
7.1.310.0000.01015.76
7.1.300.0040.00415.62
7.1.290.0050.00315.77
7.1.280.0090.00615.80
7.1.270.0080.00315.61
7.1.260.0030.00715.90
7.1.250.0150.00514.61
7.1.240.0040.01115.56
7.1.230.0110.00415.45
7.1.220.0070.00315.79
7.1.210.0030.00715.74
7.1.200.0000.01415.79
7.1.190.0070.01015.53
7.1.180.0060.00915.63
7.1.170.0080.00615.81
7.1.160.0070.00315.70
7.1.150.0040.00815.44
7.1.140.0030.01015.82
7.1.130.0070.01015.73
7.1.120.0080.00015.55
7.1.110.0030.01015.95
7.1.100.0000.01115.89
7.1.90.0060.00615.61
7.1.80.0060.00915.80
7.1.70.0100.00715.52
7.1.60.0080.00615.80
7.1.50.0030.01315.61
7.1.40.0060.00615.69
7.1.30.0060.01015.55
7.1.20.0000.00915.68
7.1.10.0050.00515.87
7.1.00.0060.00615.71

preferences:
50.59 ms | 400 KiB | 5 Q