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.0170.04720.24
7.0.10.0070.04020.23
7.0.00.0030.08720.05
5.6.170.0400.04720.57
5.6.160.0100.03320.52
5.6.150.0070.05018.34
5.6.140.0170.07718.29
5.6.130.0030.04018.14
5.6.120.0030.04021.04
5.6.110.0000.04321.03
5.6.100.0070.05721.01
5.6.90.0270.04720.88
5.6.80.0200.06720.41
5.5.310.0230.04020.30
5.5.300.0130.07318.05
5.5.290.0130.07718.01
5.5.280.0130.06020.74
5.5.270.0070.08320.87
5.5.260.0100.07720.96
5.5.250.0130.07020.46
5.5.240.0000.03320.19

preferences:
140.93 ms | 1394 KiB | 7 Q