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.0060.03312.01
5.4.320.0060.03612.50
5.4.310.0060.03712.49
5.4.300.0100.04112.49
5.4.290.0100.03912.50
5.4.280.0060.04012.39
5.4.270.0060.03812.39
5.4.260.0090.03512.39
5.4.250.0060.03812.39
5.4.240.0080.03612.39
5.4.230.0090.03512.38
5.4.220.0060.03712.38
5.4.210.0060.03812.38
5.4.200.0060.03612.38
5.4.190.0050.03512.38
5.4.180.0070.03412.38
5.4.170.0020.03812.39
5.4.160.0060.03512.38
5.4.150.0080.03312.38
5.4.140.0050.03812.07
5.4.130.0060.03412.05
5.4.120.0060.03412.01
5.4.110.0060.03412.01
5.4.100.0090.03212.01
5.4.90.0060.03512.01
5.4.80.0030.03812.01
5.4.70.0070.03212.01
5.4.60.0070.03312.00
5.4.50.0050.03412.01
5.4.40.0110.02811.99
5.4.30.0060.03311.99
5.4.20.0100.03511.99
5.4.10.0060.03312.00
5.4.00.0060.03411.48
5.3.290.0070.04212.80
5.3.280.0070.04012.71
5.3.270.0060.03812.72
5.3.260.0060.03912.72
5.3.250.0090.03912.72
5.3.240.0080.03812.72
5.3.230.0030.04012.71
5.3.220.0040.04312.68
5.3.210.0050.03912.68
5.3.200.0070.03412.68
5.3.190.0080.04212.68
5.3.180.0080.04312.67
5.3.170.0100.03612.67
5.3.160.0050.03512.67
5.3.150.0040.03712.68
5.3.140.0050.03712.66
5.3.130.0040.04012.66
5.3.120.0050.03912.66
5.3.110.0050.03912.65
5.3.100.0070.03612.12
5.3.90.0090.03212.08
5.3.80.0080.03512.07
5.3.70.0080.03712.07
5.3.60.0060.04112.07
5.3.50.0110.03212.00
5.3.40.0050.03912.00
5.3.30.0080.03211.95
5.3.20.0070.03311.73
5.3.10.0100.03011.70
5.3.00.0100.03411.68
5.2.170.0060.0299.19
5.2.160.0080.0289.19
5.2.150.0080.0279.19
5.2.140.0090.0259.18
5.2.130.0050.0299.14
5.2.120.0060.0369.14
5.2.110.0030.0309.15
5.2.100.0110.0289.15
5.2.90.0070.0269.14
5.2.80.0050.0289.14
5.2.70.0030.0319.14
5.2.60.0050.0299.10
5.2.50.0060.0289.07
5.2.40.0040.0309.04
5.2.30.0040.0309.02
5.2.20.0060.0279.01
5.2.10.0050.0278.93
5.2.00.0050.0278.79
5.1.60.0050.0328.07
5.1.50.0050.0308.07
5.1.40.0070.0268.05
5.1.30.0050.0248.40
5.1.20.0060.0328.42
5.1.10.0030.0268.15
5.1.00.0040.0258.15
5.0.50.0030.0216.63
5.0.40.0050.0256.49
5.0.30.0040.0326.30
5.0.20.0050.0256.27
5.0.10.0080.0186.25
5.0.00.0020.0396.24
4.4.90.0040.0144.78
4.4.80.0030.0144.75
4.4.70.0010.0164.75
4.4.60.0060.0194.75
4.4.50.0040.0204.77
4.4.40.0030.0234.70
4.4.30.0030.0174.76
4.4.20.0040.0164.84
4.4.10.0020.0154.85
4.4.00.0050.0274.76
4.3.110.0040.0184.66
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0030.0304.59
4.3.70.0030.0154.63
4.3.60.0020.0174.63
4.3.50.0020.0164.63
4.3.40.0030.0284.54
4.3.30.0020.0153.28
4.3.20.0020.0153.27
4.3.10.0010.0193.23
4.3.00.0130.0207.11

preferences:
135.7 ms | 1394 KiB | 7 Q