3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string <<<EOF {"actAsFeed":null,"context":null,"currentPage":1,"entries":[{"content":null,"entryUri":null,"facets":[],"id":"outputFormat=json&q=source%3Afeed3dcc","image":null,"infos":{},"metas":{"q":{"displayName":"q","highlightIntervals":null,"name":"q","values":[{"highlight":null,"highlightIntervals":null,"value":"source:feed3dcc"}]},"outputFormat":{"displayName":"outputFormat","highlightIntervals":null,"name":"outputFormat","values":[{"highlight":null,"highlightIntervals":null,"value":"json"}]}},"subfeeds":[{"actAsFeed":null,"context":null,"currentPage":1,"entries":[],"error":{"cause":null,"localizedMessage":null,"message":null,"ourStackTrace":[],"stackTrace":[],"stackTraceDepth":0,"suppressed":[]},"facets":[],"feedUri":null,"generator":"com.exalead.access.basefeeds.CloudviewFeed","id":"general","infos":{},"itemsPerPage":0,"lastPage":0,"query":null,"spellCheckSuggestions":[],"startIndex":0,"totalEntries":0,"totalResults":0},{"actAsFeed":null,"context":"","currentPage":1,"entries":[],"error":null,"facets":[],"feedUri":null,"generator":"com.exalead.access.basefeeds.CloudviewFeed","id":"cloudview","infos":{"last":"0","start":"0","estimated":"false","nhits":"0","autocorrected":"false","ellql":"#query{nbdocs=29013, score.expr=\"@term.score*@proximity+@b\", proximity.maxDistance=1, term.score=RANK_TFIDF}(#and(#and(#category(categories,\"Top\/source\/feed3dcc\") #and(#opt(#category{b=-14000}(categories,\"Top\/source\/spr\")) #opt(#category{b=-14000}(categories,\"Top\/source\/3dccparts\")) ) ) #category(categories,\"Top\/language\/en\") ))","context":"applicationId%3Ddefault%26b%3D0%26hf%3D10%26l%3Den%26of%3Dflea%26origin%3Dmashupapi.default.search%26q%3Dsource%253Afeed3dcc%2B%2528OPT%2Bsource%253Aspr%257Bb%253D-14000%257D%2B%2BOPT%2Bsource%253A3dccparts%257Bb%253D-14000%257D%2B%2529%26q.feed_restriction%3Dlanguage%253Aen%26stagingMode%3Dfalse","searchAPIUrl":"of=flea&b=0&q=source%3Afeed3dcc+%28OPT+source%3Aspr%7Bb%3D-14000%7D++OPT+source%3A3dccparts%7Bb%3D-14000%7D+%29&origin=mashupapi.default.search&applicationId=default&hf=10&l=en&debug=all&q.feed_restriction=language%3Aen&stagingMode=false","lang":"en","queryASTJson":"{\"id\":\"n-1-0\",\"data\":{\"docId\":-1,\"type\":\"FALSE\",\"estCount\":0,\"nContributed\":0},\"children\":[]}","nmatches":"0"},"itemsPerPage":10,"lastPage":0,"query":"source:feed3dcc (OPT source:spr{b=-14000} OPT source:3dccparts{b=-14000} )","spellCheckSuggestions":[],"startIndex":0,"totalEntries":0,"totalResults":0},{"actAsFeed":null,"context":"","currentPage":1,"entries":[],"error":null,"facets":[],"feedUri":null,"generator":"com.exalead.access.basefeeds.CloudviewFeed","id":"post","infos":{"last":"0","start":"0","estimated":"false","nhits":"0","autocorrected":"false","ellql":"#query{nbdocs=29013, score.expr=\"@term.score*@proximity+@b\", proximity.maxDistance=1, term.score=RANK_TFIDF}(#and(#false() #or(#category(categories,\"Top\/source\/3dccparts\") #category(categories,\"Top\/source\/twittest\") #category(categories,\"Top\/source\/forumthreads\") ) ))","context":"applicationId%3Ddefault%26b%3D0%26eq%3D%2523false%26hf%3D4%26l%3Den%26limits%3Dmax_fetched_hits_per_slice%253A1000%26of%3Dflea%26origin%3Dmashupapi.default.search%26q%3D%2528source%253A3dccparts%2BOR%2Bsource%253Atwittest%2529%26q.restriction%3D%2528source%253A3dccparts%2BOR%2Bsource%253Atwittest%2BOR%2Bsource%253Aforumthreads%2529%26stagingMode%3Dfalse","searchAPIUrl":"limits=max_fetched_hits_per_slice%3A1000&of=flea&b=0&q=%28source%3A3dccparts+OR+source%3Atwittest%29&q.restriction=%28source%3A3dccparts+OR+source%3Atwittest+OR+source%3Aforumthreads%29&origin=mashupapi.default.search&applicationId=default&hf=4&l=en&debug=all&stagingMode=false&eq=%23false","lang":"en","queryASTJson":"{\"id\":\"n-1-0\",\"data\":{\"docId\":-1,\"type\":\"FALSE\",\"estCount\":0,\"nContributed\":0},\"children\":[]}","nmatches":"0"},"itemsPerPage":4,"lastPage":0,"query":"(source:3dccparts OR source:twittest)","spellCheckSuggestions":[],"startIndex":0,"totalEntries":0,"totalResults":0},{"actAsFeed":null,"context":"","currentPage":1,"entries":[],"error":null,"facets":[],"feedUri":null,"generator":"com.exalead.access.basefeeds.CloudviewFeed","id":"test","infos":{"last":"0","start":"0","estimated":"false","nhits":"0","autocorrected":"false","ellql":"#query{nbdocs=29013, score.expr=\"@term.score*@proximity+@b\", proximity.maxDistance=1, term.score=RANK_TFIDF}(#and(#false() #or(#category(categories,\"Top\/source\/swyoutube\") #category(categories,\"Top\/source\/wpressblogs\") #category(categories,\"Top\/source\/lessons\") ) ))","context":"applicationId%3Ddefault%26b%3D0%26eq%3D%2523false%26hf%3D6%26l%3Den%26limits%3Dmax_fetched_hits_per_slice%253A10000%26of%3Dflea%26origin%3Dmashupapi.default.search%26q%3D%2528source%253Aswyoutube%2BOR%2Bsource%253Awpressblogs%2BOR%2Bsource%253Alessons%2529%26q.restriction%3D%2528source%253Aswyoutube%2BOR%2Bsource%253Awpressblogs%2BOR%2Bsource%253Alessons%2529%26stagingMode%3Dfalse","searchAPIUrl":"limits=max_fetched_hits_per_slice%3A10000&of=flea&b=0&q=%28source%3Aswyoutube+OR+source%3Awpressblogs+OR+source%3Alessons%29&q.restriction=%28source%3Aswyoutube+OR+source%3Awpressblogs+OR+source%3Alessons%29&origin=mashupapi.default.search&applicationId=default&hf=6&l=en&debug=all&stagingMode=false&eq=%23false","lang":"en","queryASTJson":"{\"id\":\"n-1-0\",\"data\":{\"docId\":-1,\"type\":\"FALSE\",\"estCount\":0,\"nContributed\":0},\"children\":[]}","nmatches":"0"},"itemsPerPage":6,"lastPage":0,"query":"(source:swyoutube OR source:wpressblogs OR source:lessons)","spellCheckSuggestions":[],"startIndex":0,"totalEntries":0,"totalResults":0}],"title":null,"uris":[]}],"error":null,"facets":[],"feedUri":null,"generator":"com.exalead.access.basefeeds.PageFeed","id":"search","infos":{},"itemsPerPage":0,"lastPage":0,"query":null,"spellCheckSuggestions":[],"startIndex":0,"totalEntries":0,"totalResults":0} EOF; $decoded = json_decode($string); var_dump($decoded);

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)
5.4.340.0030.03612.01
5.4.320.0090.03212.50
5.4.310.0080.04112.49
5.4.300.0060.03812.50
5.4.290.0050.03712.49
5.4.280.0070.03412.39
5.4.270.0060.03612.39
5.4.260.0050.03812.39
5.4.250.0040.03912.39
5.4.240.0070.03512.39
5.4.230.0070.03912.38
5.4.220.0100.03312.38
5.4.210.0080.03512.38
5.4.200.0070.03912.38
5.4.190.0110.04412.38
5.4.180.0060.04612.38
5.4.170.0080.03212.38
5.4.160.0070.03312.38
5.4.150.0030.04712.38
5.4.140.0060.03512.07
5.4.130.0060.03612.05
5.4.120.0080.03712.02
5.4.110.0070.03312.01
5.4.100.0070.03312.01
5.4.90.0070.04212.01
5.4.80.0060.03512.01
5.4.70.0050.03512.00
5.4.60.0070.03312.00
5.4.50.0050.03512.01
5.4.40.0060.03512.00
5.4.30.0060.03512.00
5.4.20.0070.03411.99
5.4.10.0080.03212.00
5.4.00.0060.03511.48
5.3.290.0060.04012.80
5.3.280.0070.03612.71
5.3.270.0080.03912.72
5.3.260.0090.03512.72
5.3.250.0060.03712.72
5.3.240.0060.03612.71
5.3.230.0060.03712.71
5.3.220.0060.03612.68
5.3.210.0070.03712.68
5.3.200.0060.03612.68
5.3.190.0060.03812.68
5.3.180.0040.03712.67
5.3.170.0060.03512.67
5.3.160.0060.04112.68
5.3.150.0080.03412.67
5.3.140.0050.03712.66
5.3.130.0060.03812.66
5.3.120.0100.03412.65
5.3.110.0060.03812.66
5.3.100.0090.03512.12
5.3.90.0050.03612.08
5.3.80.0080.03412.08
5.3.70.0060.03612.07
5.3.60.0040.03712.06
5.3.50.0040.03712.00
5.3.40.0050.03512.00
5.3.30.0060.03911.95
5.3.20.0050.03611.72
5.3.10.0050.03511.70
5.3.00.0060.03511.68
5.2.170.0040.0309.19
5.2.160.0030.0309.19
5.2.150.0060.0289.19
5.2.140.0020.0329.18
5.2.130.0110.0269.14
5.2.120.0070.0289.14
5.2.110.0030.0319.16
5.2.100.0080.0259.15
5.2.90.0050.0289.15
5.2.80.0030.0319.14
5.2.70.0060.0289.14
5.2.60.0040.0309.10
5.2.50.0070.0309.07
5.2.40.0020.0319.04
5.2.30.0040.0309.02
5.2.20.0060.0279.01
5.2.10.0060.0318.93
5.2.00.0050.0288.79
5.1.60.0060.0218.07
5.1.50.0030.0278.07
5.1.40.0040.0238.05
5.1.30.0030.0288.41
5.1.20.0030.0268.43
5.1.10.0030.0278.15
5.1.00.0030.0268.15
5.0.50.0000.0276.63
5.0.40.0040.0186.49
5.0.30.0040.0306.30
5.0.20.0050.0166.27
5.0.10.0040.0186.25
5.0.00.0030.0306.24
4.4.90.0030.0144.77
4.4.80.0040.0144.75
4.4.70.0020.0234.75
4.4.60.0040.0184.75
4.4.50.0030.0254.77
4.4.40.0030.0304.71
4.4.30.0010.0164.76
4.4.20.0040.0134.85
4.4.10.0040.0134.85
4.4.00.0040.0294.76
4.3.110.0030.0164.67
4.3.100.0000.0174.66
4.3.90.0030.0134.64
4.3.80.0070.0204.59
4.3.70.0000.0174.63
4.3.60.0010.0164.63
4.3.50.0030.0144.63
4.3.40.0020.0234.54
4.3.30.0010.0163.29
4.3.20.0000.0173.27
4.3.10.0030.0193.23
4.3.00.0100.0277.11

preferences:
143.87 ms | 935 KiB | 8 Q