3v4l.org

run code in 300+ PHP versions simultaneously
<?php class everything{ public static function must(){ return "go!"; } } print call_user_func( accessorFunction(), "must"); function accessorFunction(){ returns 'everything'; }

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.5.40.0000.04017.26
5.5.30.0130.04317.21
5.5.20.0100.03317.30
5.5.10.0070.03317.22
5.5.00.0070.03317.22
5.4.200.0030.03719.09
5.4.190.0070.03319.09
5.4.180.0070.03319.11
5.4.170.0030.03719.02
5.4.160.0030.03719.04
5.4.150.0070.03319.04
5.4.140.0070.03016.59
5.4.130.0000.03716.37
5.4.120.0030.03316.44
5.4.110.0070.03316.54
5.4.100.0070.03316.53
5.4.90.0030.04716.54
5.4.80.0000.05716.27
5.4.70.0030.03316.46
5.4.60.0000.04016.43
5.4.50.0030.03316.39
5.4.40.0070.03716.34
5.4.30.0070.03016.37
5.4.20.0000.03716.44
5.4.10.0000.04016.45
5.4.00.0000.03715.89
5.3.270.0030.03714.46
5.3.260.0100.03714.60
5.3.250.0000.04014.67
5.3.240.0100.03014.46
5.3.230.0030.03714.66
5.3.220.0070.03314.64
5.3.210.0000.04014.56
5.3.200.0070.03314.52
5.3.190.0030.04314.56
5.3.180.0030.03314.65
5.3.170.0100.03014.61
5.3.160.0000.04014.62
5.3.150.0030.03714.67
5.3.140.0030.03714.59
5.3.130.0100.04014.59
5.3.120.0000.04014.59
5.3.110.0070.03314.55
5.3.100.0000.03714.03
5.3.90.0030.03314.01
5.3.80.0000.04013.86
5.3.70.0070.03014.09
5.3.60.0100.03314.04
5.3.50.0000.03713.98
5.3.40.0100.03314.00
5.3.30.0100.05013.98
5.3.20.0030.06713.79
5.3.10.0030.05313.67
5.3.00.0070.05013.63

preferences:
140.53 ms | 1394 KiB | 7 Q