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);
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected 'applied_rule_ids' (T_STRING), expecting ',' or ')' in /in/LFkuo on line 3
Process exited with code 255.
Output for 5.5.24 - 5.5.31, 5.6.8 - 5.6.17
Parse error: syntax error, unexpected 'applied_rule_ids' (T_STRING) in /in/LFkuo on line 3
Process exited with code 255.

preferences:
162.15 ms | 1395 KiB | 28 Q