1--TEST-- 2Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #7 3--SKIPIF-- 4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> 5--FILE-- 6<?php 7 8 9// PHP Unit's code to unserialize data passed as args to #testFormatTypeInt64Intl 10$unit_test_args = unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:19:"SFD2,147,483,648.00";}'); 11 12var_dump($unit_test_args); 13 14// execute the code from #testFormatTypeInt64Intl 15$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64); 16 17echo "== didn't crash ==".PHP_EOL; 18 19?> 20--EXPECT-- 21array(3) { 22 [0]=> 23 object(NumberFormatter)#1 (0) { 24 } 25 [1]=> 26 float(2147483648) 27 [2]=> 28 string(19) "SFD2,147,483,648.00" 29} 30== didn't crash == 31