3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = unserialize("a:3:{i:4100002;a:57:{s:16:"applied_rule_ids";N;s:5:"price";d:0;s:10:"base_price";d:0;s:12:"custom_price";N;s:16:"discount_percent";N;s:15:"discount_amount";i:0;s:20:"base_discount_amount";i:0;s:11:"tax_percent";i:0;s:10:"tax_amount";d:0;s:15:"base_tax_amount";d:0;s:9:"row_total";d:0;s:14:"base_row_total";d:0;s:23:"row_total_with_discount";N;s:24:"base_tax_before_discount";N;s:19:"tax_before_discount";N;s:21:"original_custom_price";N;s:9:"base_cost";N;s:14:"price_incl_tax";d:0;s:19:"base_price_incl_tax";d:0;s:18:"row_total_incl_tax";d:0;s:23:"base_row_total_incl_tax";d:0;s:17:"hidden_tax_amount";i:0;s:22:"base_hidden_tax_amount";i:0;s:20:"weee_tax_disposition";i:0;s:24:"weee_tax_row_disposition";i:0;s:25:"base_weee_tax_disposition";i:0;s:29:"base_weee_tax_row_disposition";i:0;s:16:"weee_tax_applied";s:6:"a:0:{}";s:23:"weee_tax_applied_amount";i:0;s:27:"weee_tax_applied_row_amount";i:0;s:28:"base_weee_tax_applied_amount";i:0;s:30:"base_weee_tax_applied_row_amnt";N;s:3:"maf";d:0;s:8:"base_maf";d:0;s:12:"maf_incl_tax";d:0;s:17:"base_maf_incl_tax";d:0;s:14:"maf_tax_amount";d:0;s:19:"base_maf_tax_amount";d:0;s:13:"maf_row_total";d:0;s:18:"base_maf_row_total";d:0;s:22:"maf_row_total_incl_tax";d:0;s:27:"base_maf_row_total_incl_tax";d:0;s:19:"maf_discount_amount";d:0;s:24:"base_maf_discount_amount";d:0;s:27:"maf_row_total_with_discount";N;s:23:"maf_tax_before_discount";N;s:28:"base_maf_tax_before_discount";N;s:21:"hidden_maf_tax_amount";i:0;s:26:"base_hidden_maf_tax_amount";i:0;s:17:"order_item_prices";N;s:20:"applied_promo_amount";N;s:25:"base_applied_promo_amount";N;s:24:"applied_maf_promo_amount";N;s:29:"base_applied_maf_promo_amount";N;s:15:"connection_cost";N;s:17:"mixmatch_subtotal";N;s:12:"mixmatch_tax";N;}s:3:"RET";a:57:{s:16:"applied_rule_ids";N;s:5:"price";d:0;s:10:"base_price";d:0;s:12:"custom_price";N;s:16:"discount_percent";N;s:15:"discount_amount";i:0;s:20:"base_discount_amount";i:0;s:11:"tax_percent";i:0;s:10:"tax_amount";d:0;s:15:"base_tax_amount";d:0;s:9:"row_total";d:0;s:14:"base_row_total";d:0;s:23:"row_total_with_discount";N;s:24:"base_tax_before_discount";N;s:19:"tax_before_discount";N;s:21:"original_custom_price";N;s:9:"base_cost";N;s:14:"price_incl_tax";d:0;s:19:"base_price_incl_tax";d:0;s:18:"row_total_incl_tax";d:0;s:23:"base_row_total_incl_tax";d:0;s:17:"hidden_tax_amount";i:0;s:22:"base_hidden_tax_amount";i:0;s:20:"weee_tax_disposition";i:0;s:24:"weee_tax_row_disposition";i:0;s:25:"base_weee_tax_disposition";i:0;s:29:"base_weee_tax_row_disposition";i:0;s:16:"weee_tax_applied";s:6:"a:0:{}";s:23:"weee_tax_applied_amount";i:0;s:27:"weee_tax_applied_row_amount";i:0;s:28:"base_weee_tax_applied_amount";i:0;s:30:"base_weee_tax_applied_row_amnt";N;s:3:"maf";d:0;s:8:"base_maf";d:0;s:12:"maf_incl_tax";d:0;s:17:"base_maf_incl_tax";d:0;s:14:"maf_tax_amount";d:0;s:19:"base_maf_tax_amount";d:0;s:13:"maf_row_total";d:0;s:18:"base_maf_row_total";d:0;s:22:"maf_row_total_incl_tax";d:0;s:27:"base_maf_row_total_incl_tax";d:0;s:19:"maf_discount_amount";d:0;s:24:"base_maf_discount_amount";d:0;s:27:"maf_row_total_with_discount";N;s:23:"maf_tax_before_discount";N;s:28:"base_maf_tax_before_discount";N;s:21:"hidden_maf_tax_amount";i:0;s:26:"base_hidden_maf_tax_amount";i:0;s:17:"order_item_prices";N;s:20:"applied_promo_amount";N;s:25:"base_applied_promo_amount";N;s:24:"applied_maf_promo_amount";N;s:29:"base_applied_maf_promo_amount";N;s:15:"connection_cost";N;s:17:"mixmatch_subtotal";N;s:12:"mixmatch_tax";N;}i:2300214;a:57:{s:16:"applied_rule_ids";N;s:5:"price";d:0;s:10:"base_price";d:0;s:12:"custom_price";N;s:16:"discount_percent";N;s:15:"discount_amount";N;s:20:"base_discount_amount";N;s:11:"tax_percent";i:0;s:10:"tax_amount";d:0;s:15:"base_tax_amount";d:0;s:9:"row_total";d:0;s:14:"base_row_total";d:0;s:23:"row_total_with_discount";N;s:24:"base_tax_before_discount";N;s:19:"tax_before_discount";N;s:21:"original_custom_price";N;s:9:"base_cost";N;s:14:"price_incl_tax";d:0;s:19:"base_price_incl_tax";d:0;s:18:"row_total_incl_tax";d:0;s:23:"base_row_total_incl_tax";d:0;s:17:"hidden_tax_amount";i:0;s:22:"base_hidden_tax_amount";i:0;s:20:"weee_tax_disposition";i:0;s:24:"weee_tax_row_disposition";i:0;s:25:"base_weee_tax_disposition";i:0;s:29:"base_weee_tax_row_disposition";i:0;s:16:"weee_tax_applied";s:6:"a:0:{}";s:23:"weee_tax_applied_amount";i:0;s:27:"weee_tax_applied_row_amount";i:0;s:28:"base_weee_tax_applied_amount";i:0;s:30:"base_weee_tax_applied_row_amnt";N;s:3:"maf";d:0;s:8:"base_maf";d:0;s:12:"maf_incl_tax";d:0;s:17:"base_maf_incl_tax";d:0;s:14:"maf_tax_amount";d:0;s:19:"base_maf_tax_amount";d:0;s:13:"maf_row_total";d:0;s:18:"base_maf_row_total";d:0;s:22:"maf_row_total_incl_tax";d:0;s:27:"base_maf_row_total_incl_tax";d:0;s:19:"maf_discount_amount";N;s:24:"base_maf_discount_amount";N;s:27:"maf_row_total_with_discount";N;s:23:"maf_tax_before_discount";N;s:28:"base_maf_tax_before_discount";N;s:21:"hidden_maf_tax_amount";i:0;s:26:"base_hidden_maf_tax_amount";i:0;s:17:"order_item_prices";N;s:20:"applied_promo_amount";N;s:25:"base_applied_promo_amount";N;s:24:"applied_maf_promo_amount";N;s:29:"base_applied_maf_promo_amount";N;s:15:"connection_cost";N;s:17:"mixmatch_subtotal";N;s:12:"mixmatch_tax";N;}}"); print_r($a);

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)
7.0.20.0230.05020.12
7.0.10.0100.08320.26
7.0.00.0130.07320.18
5.6.170.0300.04320.48
5.6.160.0070.04320.57
5.6.150.0070.07018.28
5.6.140.0100.06318.21
5.6.130.0100.03318.16
5.6.120.0100.04721.09
5.6.110.0070.03721.00
5.6.100.0330.05721.10
5.6.90.0070.07021.03
5.6.80.0030.07020.37
5.5.310.0300.08720.43
5.5.300.0030.08317.96
5.5.290.0070.07717.95
5.5.280.0130.07720.85
5.5.270.0170.07320.88
5.5.260.0030.06720.72
5.5.250.0070.05320.54
5.5.240.0070.03720.16

preferences:
176.92 ms | 1394 KiB | 7 Q