3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{ public $delta = ['0']; public function test(){ $t = function( $id = 1) { print_r($id); }; return Closure::bind($t, null, null); } } $Test = new Test; var_dump($Test->test());

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)
8.3.60.0070.00718.31
8.3.50.0120.00921.91
8.3.40.0070.00718.67
8.3.30.0070.00718.92
8.3.20.0000.00720.13
8.3.10.0000.00823.66
8.3.00.0040.00419.06
8.2.180.0100.00718.54
8.2.170.0180.00422.96
8.2.160.0180.00320.35
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00422.21
8.2.110.0060.00322.31
8.2.100.0060.00617.63
8.2.90.0000.00819.27
8.2.80.0000.00817.97
8.2.70.0060.00617.38
8.2.60.0030.00517.91
8.2.50.0040.00418.07
8.2.40.0000.00818.09
8.2.30.0040.00418.18
8.2.20.0030.00517.66
8.2.10.0040.00418.12
8.2.00.0030.00517.61
8.1.280.0110.00325.92
8.1.270.0080.00023.88
8.1.260.0060.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00618.95
8.1.230.0040.00719.14
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00617.00
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0030.00718.64
8.1.160.0020.00521.93
8.1.150.0040.00418.80
8.1.140.0080.00017.46
8.1.130.0040.00417.78
8.1.120.0030.00317.55
8.1.110.0000.00817.52
8.1.100.0030.00317.36
8.1.90.0040.00417.48
8.1.80.0040.00417.40
8.1.70.0000.00717.43
8.1.60.0000.00817.49
8.1.50.0050.00317.43
8.1.40.0000.00817.57
8.1.30.0040.00417.56
8.1.20.0040.00417.69
8.1.10.0040.00417.47
8.1.00.0030.00517.46
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0000.00718.38
8.0.270.0030.00317.20
8.0.260.0030.00518.33
8.0.250.0070.00016.88
8.0.240.0030.00316.88
8.0.230.0020.00516.89
8.0.220.0050.00316.71
8.0.210.0040.00416.73
8.0.200.0000.00616.98
8.0.190.0030.00616.99
8.0.180.0000.00716.92
8.0.170.0040.00416.88
8.0.160.0030.00316.78
8.0.150.0040.00416.75
8.0.140.0000.00816.86
8.0.130.0000.00513.36
8.0.120.0080.00016.81
8.0.110.0050.00216.93
8.0.100.0000.00716.71
8.0.90.0000.00716.89
8.0.80.0060.00916.82
8.0.70.0050.00316.86
8.0.60.0000.00716.84
8.0.50.0000.00716.93
8.0.30.0080.01917.04
8.0.20.0110.00917.40
8.0.10.0030.00516.93
8.0.00.0160.00216.73
7.4.330.0050.00015.05
7.4.320.0060.00016.53
7.4.300.0070.00016.52
7.4.290.0030.00316.61
7.4.280.0000.00716.45
7.4.270.0000.00716.41
7.4.260.0030.00716.51
7.4.250.0000.00916.36
7.4.240.0050.00216.59
7.4.230.0070.00016.70
7.4.220.0110.00716.47
7.4.210.0100.01416.53
7.4.200.0050.00216.51
7.4.160.0100.01016.66
7.4.150.0100.01017.40
7.4.140.0090.01217.86
7.4.130.0130.00516.67
7.4.120.0120.00516.48
7.4.110.0120.00616.45
7.4.100.0070.01016.46
7.4.90.0040.01416.58
7.4.80.0090.01219.39
7.4.70.0100.01416.42
7.4.60.0070.01016.52
7.4.50.0040.00416.29
7.4.40.0150.00316.46
7.4.30.0060.01216.57
7.4.10.0160.00314.64
7.4.00.0100.00814.87
7.3.330.0060.00013.14
7.3.320.0000.00613.23
7.3.310.0000.00716.17
7.3.300.0060.00016.37
7.3.290.0050.01116.31
7.3.280.0090.01016.32
7.3.270.0150.00417.40
7.3.260.0060.01116.46
7.3.250.0110.00616.40
7.3.240.0110.00616.52
7.3.230.0110.00616.39
7.3.210.0160.01016.25
7.3.200.0030.01219.39
7.3.190.0130.00616.40
7.3.180.0030.01316.30
7.3.170.0130.00316.35
7.3.160.0100.00716.52
7.3.130.0070.01114.70
7.3.120.0090.00814.83
7.3.110.0040.01114.67
7.3.100.0060.01014.88
7.3.90.0020.01114.84
7.3.80.0070.00714.81
7.3.70.0030.01014.70
7.3.60.0060.00914.78
7.3.50.0080.00414.87
7.3.40.0030.00914.70
7.3.30.0050.00714.68
7.3.20.0050.00816.52
7.3.10.0050.00716.62
7.3.00.0050.00616.61
7.2.330.0110.00716.73
7.2.320.0090.01016.45
7.2.310.0030.01416.71
7.2.300.0120.00416.41
7.2.290.0030.01316.50
7.2.260.0070.01415.00
7.2.250.0140.00515.01
7.2.240.0060.01114.92
7.2.230.0040.01214.91
7.2.220.0060.00815.03
7.2.210.0060.00715.11
7.2.200.0070.00414.76
7.2.190.0040.01014.87
7.2.180.0060.00715.00
7.2.170.0060.00914.94
7.2.160.0020.01114.77
7.2.150.0050.00716.90
7.2.140.0050.01016.95
7.2.130.0060.00816.92
7.2.120.0000.01216.68
7.2.110.0070.00816.78
7.2.100.0030.00916.96
7.2.90.0020.00816.97
7.2.80.0050.00816.96
7.2.70.0060.00816.87
7.2.60.0060.01016.80
7.2.50.0070.00716.93
7.2.40.0050.01216.94
7.2.30.0040.01016.78
7.2.20.0060.00716.95
7.2.10.0070.00816.84
7.2.00.0060.00517.38
7.1.330.0100.00415.80
7.1.320.0070.00715.74
7.1.310.0040.00915.64
7.1.300.0090.00215.68
7.1.290.0060.00515.77
7.1.280.0040.00515.82
7.1.270.0040.01015.77
7.1.260.0050.00515.69
7.1.250.0070.00315.84
7.1.240.0040.01115.80
7.1.230.0060.00615.77
7.1.220.0070.00415.86
7.1.210.0000.01715.56
7.1.200.0070.00415.69
7.1.190.0100.00315.49
7.1.180.0060.00815.70
7.1.170.0090.00315.87
7.1.160.0000.00915.89
7.1.150.0040.01215.74
7.1.140.0100.00715.55
7.1.130.0000.01215.63
7.1.120.0070.00415.75
7.1.110.0040.00815.93
7.1.100.0040.00616.96
7.1.90.0000.01215.76
7.1.80.0040.00415.71
7.1.70.0030.00816.55
7.1.60.0050.01117.55
7.1.50.0070.01216.15
7.1.40.0040.00415.45
7.1.30.0100.00315.73
7.1.20.0040.01115.77
7.1.10.0040.00715.82
7.1.00.0020.04519.04
7.0.330.0050.00815.55
7.0.320.0040.00815.05
7.0.310.0060.00315.51
7.0.300.0070.00715.53
7.0.290.0000.01315.44
7.0.280.0070.01015.30
7.0.270.0090.00315.05
7.0.260.0000.00815.31
7.0.250.0060.01015.56
7.0.240.0070.00715.27
7.0.230.0030.01015.44
7.0.220.0030.00715.33
7.0.210.0030.00915.58
7.0.200.0020.01016.01
7.0.190.0060.00315.47
7.0.180.0070.00315.14
7.0.170.0000.01315.46
7.0.160.0110.00315.40
7.0.150.0110.00015.45
7.0.140.0080.03618.68
7.0.130.0040.01215.53
7.0.120.0040.01115.33
7.0.110.0040.01115.44
7.0.100.0030.01015.29
7.0.90.0000.01315.48
7.0.80.0110.00415.36
7.0.70.0030.00915.38
7.0.60.0090.03917.64
7.0.50.0030.04416.51
7.0.40.0070.02516.87
7.0.30.0170.04216.88
7.0.20.0160.03916.77
7.0.10.0070.04816.70
7.0.00.0050.03616.71
5.6.400.0060.00614.56
5.6.390.0060.00814.32
5.6.380.0060.00914.35
5.6.370.0000.01014.18
5.6.360.0060.00614.27
5.6.350.0110.00014.49
5.6.340.0080.00614.48
5.6.330.0030.00714.34
5.6.320.0030.01314.32
5.6.310.0030.00514.34
5.6.300.0110.00014.29
5.6.290.0070.00714.38
5.6.280.0050.04017.63
5.6.270.0070.01014.10
5.6.260.0040.01114.29
5.6.250.0060.00314.65
5.6.240.0090.00614.29
5.6.230.0120.00314.51
5.6.220.0000.00814.25
5.6.210.0080.04317.56
5.6.200.0040.04516.06
5.6.190.0070.03717.46
5.6.180.0100.02617.51
5.6.170.0100.02617.42
5.6.160.0020.03517.33
5.6.150.0060.03016.24
5.6.140.0080.04316.23
5.6.130.0050.02316.14
5.6.120.0140.03817.76
5.6.110.0070.04517.63
5.6.100.0070.02517.62
5.6.90.0050.02317.64
5.6.80.0120.02417.15
5.6.70.2220.02217.51
5.6.60.0040.00714.09
5.6.50.0030.01014.11
5.6.40.0040.00814.40
5.6.30.0030.00913.93
5.6.20.0030.00614.00
5.6.10.0060.00614.40
5.6.00.0060.00914.09
5.5.380.0040.00414.09
5.5.370.0090.00614.27
5.5.360.0030.00614.55
5.5.350.0180.04017.49
5.5.340.0070.04216.14
5.5.330.0050.04717.27
5.5.320.0220.04317.20
5.5.310.0120.04517.21
5.5.300.0070.03716.18
5.5.290.0080.04216.08
5.5.280.0080.03617.61
5.5.270.0030.02717.55
5.5.260.0030.03417.57
5.5.250.0050.02217.42
5.5.240.0080.02017.22
5.5.230.0000.00913.91
5.5.220.0030.00814.20
5.5.210.0060.01014.17
5.5.200.0060.00614.16
5.5.190.0040.01114.19
5.5.180.0040.00714.15
5.5.170.0150.00014.14
5.5.160.0110.00014.16
5.5.150.0150.00014.43
5.5.140.0000.01314.22
5.5.130.0080.00414.11
5.5.120.0000.00914.08
5.5.110.0060.00614.28
5.5.100.0060.00613.84
5.5.90.0070.00714.06
5.5.80.0120.00314.13
5.5.70.0090.00014.32
5.5.60.0040.00814.04
5.5.50.0050.00313.90
5.5.40.0000.01213.93
5.5.30.0000.01514.40
5.5.20.0040.00814.09
5.5.10.0110.00314.45
5.5.00.0070.00714.38
5.4.450.0380.03016.26
5.4.440.0410.03116.16
5.4.430.0400.03216.29
5.4.420.0540.02816.34
5.4.410.0400.03416.24
5.4.400.0610.03316.01
5.4.390.0400.03416.06
5.4.380.0450.03316.21
5.4.370.0430.02916.14
5.4.360.0400.03516.07
5.4.350.0380.02816.08
5.4.340.0020.02112.57
5.4.330.0000.00913.13
5.4.320.0040.02312.82
5.4.310.0050.02212.82
5.4.300.0060.02212.82
5.4.290.0020.02712.82
5.4.280.0030.02212.76
5.4.270.0040.02012.76
5.4.260.0050.02212.76
5.4.250.0040.02512.76
5.4.240.0040.02512.76
5.4.230.0060.02012.76
5.4.220.0030.02312.76
5.4.210.0020.02412.76
5.4.200.0080.01912.76
5.4.190.0050.02112.76
5.4.180.0020.02312.76
5.4.170.0090.01812.76
5.4.160.0020.02212.76
5.4.150.0020.02512.76
5.4.140.0080.01912.60
5.4.130.0060.02012.59
5.4.120.0030.02312.57
5.4.110.0060.02112.57
5.4.100.0040.02112.57
5.4.90.0060.02012.57
5.4.80.0020.02412.57
5.4.70.0040.01912.57
5.4.60.0050.02012.57
5.4.50.0020.02312.57
5.4.40.0080.02012.56
5.4.30.0090.01912.56
5.4.20.0040.02312.56
5.4.10.0040.02012.56
5.4.00.0060.02012.30
5.3.290.0080.03812.80
5.3.280.0040.03812.71
5.3.270.0040.04012.73
5.3.260.0040.04012.72
5.3.250.0070.03612.71
5.3.240.0070.03512.72
5.3.230.0060.03712.71
5.3.220.0040.03912.68
5.3.210.0040.03912.68
5.3.200.0060.03512.68
5.3.190.0060.03612.68
5.3.180.0040.04112.67
5.3.170.0050.03812.67
5.3.160.0050.04012.68
5.3.150.0070.04812.68
5.3.140.0060.03612.66
5.3.130.0080.03912.66
5.3.120.0060.04312.66
5.3.110.0030.04212.66
5.3.100.0070.03512.12
5.3.90.0070.03612.10
5.3.80.0060.03712.09
5.3.70.0080.04512.09
5.3.60.0090.03412.08
5.3.50.0070.03612.02
5.3.40.0060.04212.02
5.3.30.0090.03611.98
5.3.20.0070.03911.76
5.3.10.0060.03411.73
5.3.00.0050.03611.71
5.2.170.0060.0289.21
5.2.160.0040.0299.21
5.2.150.0050.0299.21
5.2.140.0020.0339.21
5.2.130.0070.0269.17
5.2.120.0050.0279.17
5.2.110.0020.0319.18
5.2.100.0060.0319.17
5.2.90.0060.0279.17
5.2.80.0060.0289.17
5.2.70.0020.0329.16
5.2.60.0030.0329.12
5.2.50.0030.0319.10
5.2.40.0050.0289.07
5.2.30.0050.0299.04
5.2.20.0010.0329.04
5.2.10.0060.0258.94
5.2.00.0050.0288.80
5.1.60.0060.0238.09
5.1.50.0030.0258.09
5.1.40.0040.0248.07
5.1.30.0030.0268.41
5.1.20.0050.0268.43
5.1.10.0030.0268.16
5.1.00.0010.0318.16
5.0.50.0040.0206.64
5.0.40.0020.0206.50
5.0.30.0040.0316.30
5.0.20.0030.0236.28
5.0.10.0060.0276.26
5.0.00.0030.0316.25
4.4.90.0050.0134.78
4.4.80.0020.0174.76
4.4.70.0010.0184.75
4.4.60.0040.0144.75
4.4.50.0060.0144.77
4.4.40.0040.0234.70
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0040.0134.85
4.4.00.0050.0224.76
4.3.110.0050.0134.67
4.3.100.0030.0144.67
4.3.90.0030.0144.63
4.3.80.0010.0264.58
4.3.70.0020.0154.63
4.3.60.0010.0164.63
4.3.50.0020.0164.63
4.3.40.0030.0234.54
4.3.30.0010.0163.30
4.3.20.0020.0153.28
4.3.10.0020.0153.23
4.3.00.0170.0278.23

preferences:
56.3 ms | 401 KiB | 5 Q