3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [ 'name' => 'Rule 1', 'description' => 'description', 'enabled' => true, 'conditions' => [ [ 'typeName' => 'customer-merchant-reference', 'values' => [ [ 'operator' => null, 'value' => 'customer-reference-123', ], ], ], ], 'balancers' => [ [ 'methodProviderTypeId' => 42, 'percentage' => 100, 'apiUserId' => '6f2be132-69bb-4c9c-8a2f-4586fcc79cd3', ], ], ]; echo json_encode($test);

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.5.00.0100.01220.02
8.4.150.0020.00014.05
8.4.140.0090.01117.70
8.4.130.0070.01217.63
8.4.120.0110.00920.60
8.4.110.0160.00522.38
8.4.100.0130.00818.54
8.4.90.0050.00419.67
8.4.80.0070.00317.71
8.4.70.0110.00917.64
8.4.60.0120.00917.74
8.4.50.0140.00817.66
8.4.40.0130.00717.60
8.4.30.0290.00517.58
8.4.20.0180.00417.38
8.4.10.0050.00617.81
8.3.280.0130.00718.38
8.3.270.0090.01216.52
8.3.260.0130.00616.52
8.3.250.0060.00218.92
8.3.240.0110.00516.87
8.3.230.0110.00816.29
8.3.220.0120.00517.16
8.3.210.0060.00916.72
8.3.200.0130.00616.32
8.3.190.0040.00516.45
8.3.180.0090.00816.30
8.3.170.0160.00516.17
8.3.160.0170.00316.26
8.3.150.0210.00116.07
8.3.140.0110.00816.33
8.3.130.0150.00316.32
8.3.120.0140.00316.18
8.3.110.0130.00616.12
8.3.100.0160.00416.36
8.3.90.0180.00316.46
8.3.80.0190.00416.36
8.3.70.0170.00416.67
8.3.60.0170.00316.25
8.3.50.0150.00416.46
8.3.40.0140.00417.42
8.3.30.0130.00317.02
8.3.20.0110.00517.27
8.3.10.0130.00217.51
8.3.00.0060.00517.42
8.2.290.0110.00920.21
8.2.280.0040.00416.32
8.2.270.0120.00516.46
8.2.260.0120.00416.36
8.2.250.0120.00616.66
8.2.240.0120.00616.55
8.2.230.0150.00216.36
8.2.220.0140.00316.35
8.2.210.0140.00416.27
8.2.200.0170.00216.80
8.2.190.0150.00216.12
8.2.180.0140.00316.19
8.2.170.0150.00717.57
8.2.160.0150.00517.41
8.2.150.0150.00317.47
8.2.140.0120.00717.47
8.2.130.0110.00617.48
8.2.120.0130.00517.19
8.2.110.0140.00517.23
8.2.100.0110.00517.35
8.2.90.0130.00417.78
8.2.80.0140.00317.33
8.2.70.0140.00517.26
8.2.60.0130.00317.25
8.2.50.0120.00617.14
8.2.40.0140.00417.33
8.2.30.0110.00517.50
8.2.20.0120.00417.50
8.2.10.0110.00517.21
8.2.00.0120.00317.17
8.1.320.0090.00616.25

preferences:
61.04 ms | 403 KiB | 5 Q