Page MenuHomePhabricator

Capture maximum version information in `php_compat_info`.
ClosedPublic

Authored by joshuaspence on May 21 2014, 9:43 PM.
Tags
None
Referenced Files
F19543864: D9248.diff
Jan 23 2026, 12:24 AM
F19064877: D9248.id21976.diff
Nov 30 2025, 12:15 AM
F19051973: D9248.id21963.diff
Nov 28 2025, 2:32 AM
F19039405: D9248.diff
Nov 26 2025, 7:36 AM
F18859689: D9248.diff
Nov 2 2025, 4:53 AM
F18856955: D9248.id.diff
Nov 1 2025, 12:22 PM
F18853813: D9248.diff
Oct 31 2025, 7:41 PM
F18772085: D9248.id.diff
Oct 9 2025, 12:12 AM
Subscribers

Details

Summary

Ref T5141. In order to be able to warn when deprecated functions are used, we need to be aware of from which version the functions were deprecated.

Test Plan

Ran arc lint and made sure no unexpected warnings were raised.

Diff Detail

Repository
rARC Arcanist
Branch
php_compat_info-minmax
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 642
Build 642: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Capture maximum version information in `php_compat_info`..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

How long does parsing a 14,000 line JSON file take?

Before

> time php -r 'json_decode(file_get_contents("./resources/php_compat_info.json"), true);'

real	0m0.027s
user	0m0.018s
sys	0m0.009s

After

> time php -r 'json_decode(file_get_contents("./resources/php_compat_info.json"), true);'

real	0m0.034s
user	0m0.024s
sys	0m0.010s
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 22 2014, 4:14 PM
epriestley updated this revision to Diff 21976.

Closed by commit rARCe0ee3e8a07ba (authored by @joshuaspence, committed by @epriestley).