3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PhpRefCallBugTester { public $ok = false; function __call( $name, $args ) { $old = error_reporting( E_ALL & ~E_WARNING ); call_user_func_array( array( $this, 'checkForBrokenRef' ), $args ); error_reporting( $old ); } function checkForBrokenRef( &$var ) { if ( $var ) { $this->ok = true; } } function execute() { $var = true; call_user_func_array( array( $this, 'foo' ), array( &$var ) ); } } $rcbt = new PhpRefCallBugTester; $rcbt->execute(); echo (int)$rcbt->ok;

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.0040.01118.31
8.3.50.0150.00222.05
8.3.40.0090.00618.71
8.3.30.0150.00618.79
8.3.20.0090.00018.74
8.3.10.0090.00019.47
8.3.00.0000.00723.66
8.2.180.0140.00716.63
8.2.170.0120.00622.96
8.2.160.0090.00620.35
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0050.00319.48
8.2.110.0100.01022.28
8.2.100.0090.00317.84
8.2.90.0040.00419.26
8.2.80.0080.00018.03
8.2.70.0060.00317.38
8.2.60.0000.00818.03
8.2.50.0030.00618.07
8.2.40.0060.00318.09
8.2.30.0080.00019.84
8.2.20.0080.00017.57
8.2.10.0040.00417.67
8.2.00.0050.00317.73
8.1.280.0090.00625.92
8.1.270.0000.00823.99
8.1.260.0090.00626.35
8.1.250.0000.00828.09
8.1.240.0060.00320.61
8.1.230.0050.00521.03
8.1.220.0030.00518.77
8.1.210.0030.00718.79
8.1.200.0000.00817.35
8.1.190.0080.00017.52
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0030.00518.81
8.1.150.0000.00718.50
8.1.140.0020.00517.47
8.1.130.0000.00717.84
8.1.120.0000.00817.36
8.1.110.0000.00817.37
8.1.100.0030.00517.46
8.1.90.0000.00717.46
8.1.80.0070.00017.49
8.1.70.0030.00317.38
8.1.60.0090.00017.64
8.1.50.0050.00317.37
8.1.40.0040.00417.41
8.1.30.0070.00017.59
8.1.20.0030.00617.58
8.1.10.0040.00417.52
8.1.00.0080.00417.52
8.0.300.0090.00919.53
8.0.290.0000.00716.75
8.0.280.0070.00018.33
8.0.270.0000.00717.18
8.0.260.0000.00716.74
8.0.250.0030.00516.89
8.0.240.0040.00416.96
8.0.230.0000.00716.95
8.0.220.0000.00716.74
8.0.210.0000.00716.89
8.0.200.0000.00716.86
8.0.190.0000.00716.80
8.0.180.0040.00417.02
8.0.170.0030.00316.91
8.0.160.0030.00316.86
8.0.150.0040.00416.90
8.0.140.0030.00616.88
8.0.130.0030.00313.29
8.0.120.0050.00316.91
8.0.110.0020.00516.79
8.0.100.0070.00016.86
8.0.90.0020.00516.79
8.0.80.0070.00716.88
8.0.70.0040.00416.88
8.0.60.0000.00716.82
8.0.50.0030.00616.77
8.0.30.0090.00917.09
8.0.20.0120.00817.40
8.0.10.0040.00416.85
8.0.00.0110.00616.84
7.4.330.0030.00314.71
7.4.320.0030.00616.54
7.4.300.0030.00316.53
7.4.290.0000.00716.46
7.4.280.0040.00416.53
7.4.270.0030.00316.66
7.4.260.0000.00513.32
7.4.250.0000.00716.62
7.4.240.0040.00416.54
7.4.230.0070.00016.31
7.4.220.0120.00916.49
7.4.210.0090.00816.55
7.4.200.0030.00316.51
7.4.190.0030.00616.32
7.4.160.0130.00616.48
7.4.150.0130.00717.40
7.4.140.0110.01117.86
7.4.130.0120.00416.50
7.4.120.0120.00516.46
7.4.110.0070.01016.46
7.4.100.0000.01716.50
7.4.90.0150.00316.32
7.4.80.0080.00919.37
7.4.70.0040.01316.47
7.4.60.0060.01016.30
7.4.50.0040.00416.58
7.4.40.0060.01022.27
7.4.30.0090.00916.51
7.4.10.0000.01515.13
7.4.00.0050.01114.90
7.3.330.0000.00513.18
7.3.320.0050.00013.13
7.3.310.0030.00316.34
7.3.300.0030.00316.18
7.3.290.0070.00716.29
7.3.280.0080.00716.34
7.3.270.0130.00317.40
7.3.260.0110.00618.24
7.3.250.0090.01316.50
7.3.240.0130.01016.63
7.3.230.0120.00416.39
7.3.210.0120.00616.59
7.3.200.0080.01119.39
7.3.190.0110.00516.61
7.3.180.0100.01016.30
7.3.170.0090.00916.43
7.3.160.0170.00416.58
7.3.130.0130.00314.92
7.3.120.0050.01214.87
7.3.110.0070.01114.88
7.3.100.0000.01414.97
7.3.90.0030.01415.09
7.3.80.0070.00714.94
7.3.70.0090.00414.74
7.3.60.0070.01114.83
7.3.50.0040.01514.84
7.3.40.0090.00614.83
7.3.30.0080.00014.82
7.3.20.0080.00816.72
7.3.10.0060.00716.62
7.3.00.0070.00716.65
7.2.330.0140.00316.46
7.2.320.0060.01016.84
7.2.310.0100.01316.64
7.2.300.0140.00416.64
7.2.290.0120.00616.45
7.2.260.0090.00915.05
7.2.250.0150.00315.00
7.2.240.0000.01614.99
7.2.230.0030.01115.08
7.2.220.0040.01115.32
7.2.210.0100.00315.32
7.2.200.0120.00314.71
7.2.190.0120.00015.08
7.2.180.0060.01215.10
7.2.170.0000.01715.02
7.2.160.0090.00615.08
7.2.150.0070.00316.96
7.2.140.0030.01216.91
7.2.130.0120.00116.94
7.2.120.0040.01016.85
7.2.110.0060.01116.85
7.2.100.0070.00717.08
7.2.90.0030.01116.86
7.2.80.0060.00916.81
7.2.70.0100.00316.97
7.2.60.0020.01016.97
7.2.50.0050.01016.94
7.2.40.0080.00817.00
7.2.30.0050.00916.74
7.2.20.0050.00816.91
7.2.10.0070.00817.14
7.2.00.0050.00917.05
7.1.330.0030.01516.07
7.1.320.0030.01515.85
7.1.310.0070.00715.59
7.1.300.0040.01415.84
7.1.290.0040.01115.86
7.1.280.0000.01415.91
7.1.270.0100.00315.87
7.1.260.0000.00915.83
7.1.250.0070.00715.91
7.1.240.0110.00316.01
7.1.230.0040.01115.69
7.1.220.0030.01215.93
7.1.210.0000.01215.66
7.1.200.0080.00515.79
7.1.190.0030.01015.79
7.1.180.0000.01315.61
7.1.170.0000.01115.94
7.1.160.0070.00715.85
7.1.150.0070.00715.65
7.1.140.0040.00716.01
7.1.130.0070.00715.91
7.1.120.0090.00615.87
7.1.110.0040.00816.03
7.1.100.0070.00716.07
7.1.90.0030.00615.95
7.1.80.0060.00615.56
7.1.70.0060.00916.37
7.1.60.0110.00917.68
7.1.50.0090.00816.41
7.1.40.0070.00415.63
7.1.30.0030.01115.78
7.1.20.0030.01015.91
7.1.10.0090.00315.68
7.1.00.0050.03819.14
7.0.330.0090.00615.44
7.0.320.0030.01015.52
7.0.310.0000.01615.41
7.0.300.0030.01215.64
7.0.290.0000.01315.44
7.0.280.0060.00615.64
7.0.270.0040.00815.52
7.0.260.0000.01415.42
7.0.250.0040.01115.28
7.0.240.0090.00315.52
7.0.230.0080.00415.44
7.0.220.0030.00915.19
7.0.210.0090.00315.50
7.0.200.0020.00916.09
7.0.190.0030.00615.48
7.0.180.0000.01015.46
7.0.170.0140.00015.32
7.0.160.0070.00415.55
7.0.150.0030.00715.31
7.0.140.0020.04018.80
7.0.130.0060.00615.67
7.0.120.0090.00615.49
7.0.110.0000.01115.34
7.0.100.0090.00315.23
7.0.90.0090.00315.31
7.0.80.0130.00015.40
7.0.70.0060.00615.58
7.0.60.0070.04018.71
7.0.50.0020.04018.65
7.0.40.0020.03316.83
7.0.30.0050.04016.77
7.0.20.0030.03216.67
7.0.10.0050.04316.87
7.0.00.0040.04016.88
5.6.400.0000.01114.50
5.6.390.0040.00814.39
5.6.380.0030.00914.40
5.6.370.0000.01414.29
5.6.360.0110.00414.41
5.6.350.0070.01014.72
5.6.340.0100.00314.43
5.6.330.0000.01214.03
5.6.320.0080.00414.57
5.6.310.0080.00614.30
5.6.300.0070.00714.73
5.6.290.0070.00514.73
5.6.280.0070.03817.50
5.6.270.0030.01214.29
5.6.260.0030.01014.62
5.6.250.0100.00314.23
5.6.240.0040.01114.46
5.6.230.0130.00314.48
5.6.220.0060.00614.16
5.6.210.0050.02817.65
5.6.200.0090.04217.77
5.6.190.0070.03517.60
5.6.180.0100.03817.67
5.6.170.0020.04017.65
5.6.160.0030.03717.76
5.6.150.0080.04117.84
5.6.140.0080.03017.82
5.6.130.0050.04717.59
5.6.120.0050.04817.65
5.6.110.0090.04417.74
5.6.100.0050.03717.69
5.6.90.0030.04817.87
5.6.80.0050.04317.37
5.6.70.0080.03817.39
5.6.60.0060.03617.41
5.6.50.0000.03417.35
5.6.40.0030.04717.42
5.6.30.0050.04517.38
5.6.20.0060.03817.33
5.6.10.0070.03717.30
5.6.00.0000.04917.46
5.5.380.0030.01014.23
5.5.370.0140.00014.36
5.5.360.0090.00314.10
5.5.350.0050.04217.35
5.5.340.0050.04617.41
5.5.330.0030.04317.39
5.5.320.0070.04017.56
5.5.310.0040.04317.70
5.5.300.0070.04317.61
5.5.290.0070.04017.60
5.5.280.0030.03817.72
5.5.270.0050.04917.68
5.5.260.0080.04317.59
5.5.250.0080.03817.38
5.5.240.0050.04617.18
5.5.230.0060.04017.29
5.5.220.0050.04017.11
5.5.210.0030.03017.29
5.5.200.0050.03317.10
5.5.190.0060.03817.34
5.5.180.0030.03317.23
5.5.170.0060.00614.45
5.5.160.0060.04117.38
5.5.150.0020.04717.19
5.5.140.0050.04517.30
5.5.130.0020.04117.16
5.5.120.0060.03917.28
5.5.110.0070.03517.14
5.5.100.0030.04017.09
5.5.90.0090.03817.15
5.5.80.0050.03217.22
5.5.70.0020.03817.23
5.5.60.0050.04217.11
5.5.50.0050.03617.19
5.5.40.0040.03917.16
5.5.30.0050.04517.24
5.5.20.0030.04017.17
5.5.10.0100.02817.23
5.5.00.0070.04317.25
5.4.450.0070.04015.17
5.4.440.0080.03515.32
5.4.430.0030.04515.26
5.4.420.0040.04315.27
5.4.410.0030.04215.16
5.4.400.0030.04214.97
5.4.390.0020.04615.16
5.4.380.0050.03915.04
5.4.370.0000.03014.90
5.4.360.0020.04314.99
5.4.350.0030.04215.28
5.4.340.0080.01815.01
5.4.330.0000.01111.17
5.4.320.0020.04115.03
5.4.310.0070.04015.12
5.4.300.0000.04414.92
5.4.290.0050.03114.92
5.4.280.0020.04615.06
5.4.270.0050.03415.01
5.4.260.0050.03715.18
5.4.250.0050.04115.05
5.4.240.0030.04114.95
5.4.230.0050.04215.13
5.4.220.0090.03815.07
5.4.210.0070.03915.19
5.4.200.0080.03315.00
5.4.190.0000.04315.04
5.4.180.0060.03114.97
5.4.170.0050.03515.17
5.4.160.0020.03615.18
5.4.150.0050.04015.12
5.4.140.0040.03713.77
5.4.130.0050.03713.86
5.4.120.0030.04113.83
5.4.110.0030.02613.82
5.4.100.0040.02513.82
5.4.90.0070.03813.80
5.4.80.0020.03913.84
5.4.70.0070.03813.79
5.4.60.0030.03313.61
5.4.50.0020.04113.70
5.4.40.0090.03713.80
5.4.30.0020.04013.74
5.4.20.0010.03613.87
5.4.10.0050.03913.72
5.4.00.0070.03113.49
5.3.290.0030.03912.76
5.3.280.0030.03712.62
5.3.270.0040.03512.58
5.3.260.0050.03712.62
5.3.250.0060.03712.62
5.3.240.0060.03612.59
5.3.230.0090.03912.51
5.3.220.0040.03712.50
5.3.210.0050.03812.54
5.3.200.0020.03512.56
5.3.190.0050.04312.43
5.3.180.0020.03612.45
5.3.170.0050.04012.45
5.3.160.0030.03812.50
5.3.150.0000.04612.67
5.3.140.0030.03512.49
5.3.130.0030.04312.54
5.3.120.0050.03312.51
5.3.110.0050.04112.52
5.3.100.0050.03812.35
5.3.90.0000.03512.32
5.3.80.0020.04212.27
5.3.70.0000.03412.16
5.3.60.0050.03712.32
5.3.50.0030.03612.27
5.3.40.0070.02812.14
5.3.30.0030.03812.29
5.3.20.0030.03712.13
5.3.10.0070.03512.03
5.3.00.0070.03312.07
5.2.170.0000.06311.05
5.2.160.0030.05011.14
5.2.150.0070.05311.20
5.2.140.0030.06311.16
5.2.130.0030.05711.21
5.2.120.0000.06311.16
5.2.110.0000.04311.05
5.2.100.0070.04011.11
5.2.90.0100.05011.17
5.2.80.0030.06311.05
5.2.70.0030.05011.12
5.2.60.0030.04711.11
5.2.50.0000.04011.05
5.2.40.0070.02311.07
5.2.30.0070.05711.05
5.2.20.0000.04311.07
5.2.10.0030.05311.05
5.2.00.0030.05711.05
5.1.60.0070.04311.05
5.1.50.0030.05311.05
5.1.40.0030.05011.05
5.1.30.0030.05311.05
5.1.20.0000.05011.05
5.1.10.0070.05011.05
5.1.00.0030.05311.05
5.0.50.0030.04011.05
5.0.40.0070.04011.05
5.0.30.0030.06011.05
5.0.20.0070.03711.05
5.0.10.0000.04311.05
5.0.00.0000.06711.05
4.4.90.0070.02311.05
4.4.80.0000.03011.05
4.4.70.0070.03011.05
4.4.60.0030.03311.05
4.4.50.0070.02711.05
4.4.40.0000.05311.05
4.4.30.0070.03311.05
4.4.20.0030.02711.05
4.4.10.0000.03011.05
4.4.00.0000.04311.05
4.3.110.0000.03311.05
4.3.100.0000.02711.05
4.3.90.0030.03311.05
4.3.80.0070.04011.05
4.3.70.0030.02311.05
4.3.60.0000.02711.05
4.3.50.0030.03011.05
4.3.40.0000.05311.05
4.3.30.0030.03311.05
4.3.20.0000.03711.05
4.3.10.0000.03711.05
4.3.00.0070.02711.05

preferences:
43.77 ms | 401 KiB | 5 Q