3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $valid_check = call_user_func( $arg['validate_callback'], $param, $this, $key ); $arg = array( 'validate_callback' => 'is_numeric' ); $param = '14102'; $obj = new stdClass; $key = 'id'; $valid_check = call_user_func( $arg['validate_callback'], $param, $obj, $key ); var_dump( $valid_check );

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.4.20.0080.01219.79
8.4.10.0100.00719.71
8.3.150.0030.01316.83
8.3.140.0060.00920.61
8.3.130.0040.00418.54
8.3.120.0050.00318.78
8.3.110.0090.00020.94
8.3.100.0000.00818.59
8.3.90.0030.00526.77
8.3.80.0030.00618.40
8.3.70.0140.00416.63
8.3.60.0180.00316.63
8.3.50.0120.00618.26
8.3.40.0150.00620.72
8.3.30.0070.00718.70
8.3.20.0080.00024.18
8.3.10.0110.00024.66
8.3.00.0050.00226.16
8.2.270.0140.00016.91
8.2.260.0040.00418.80
8.2.250.0120.00916.69
8.2.240.0000.00918.84
8.2.230.0090.00022.58
8.2.220.0070.00324.06
8.2.210.0100.00026.77
8.2.200.0090.00016.88
8.2.190.0220.00317.13
8.2.180.0110.00425.92
8.2.170.0070.00718.78
8.2.160.0100.01022.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0050.00326.16
8.2.110.0030.00721.07
8.2.100.0040.00717.84
8.2.90.0030.00517.84
8.2.80.0040.00418.03
8.2.70.0040.00417.75
8.2.60.0060.00317.73
8.2.50.0080.00017.63
8.2.40.0000.00917.63
8.2.30.0040.00417.67
8.2.20.0040.00418.08
8.2.10.0030.00620.91
8.2.00.0040.00419.29
8.1.310.0040.00416.82
8.1.300.0060.00319.58
8.1.290.0030.00630.84
8.1.280.0080.00825.92
8.1.270.0070.00323.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.80
8.1.230.0040.00822.67
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0030.00617.62
8.1.160.0040.00418.86
8.1.150.0070.00018.58
8.1.140.0040.00418.78
8.1.130.0080.00018.84
8.1.120.0050.00517.42
8.1.110.0050.00317.42
8.1.100.0070.00017.39
8.1.90.0030.00517.30
8.1.80.0060.00317.38
8.1.70.0030.00317.20
8.1.60.0000.00817.51
8.1.50.0060.00317.59
8.1.40.0040.00417.45
8.1.30.0000.00817.60
8.1.20.0040.00417.61
8.1.10.0040.00417.57
8.1.00.0040.00417.41
8.0.300.0050.00220.04
8.0.290.0020.00516.63
8.0.280.0000.00718.02
8.0.270.0070.00016.84
8.0.260.0000.00718.58
8.0.250.0100.00017.01
8.0.240.0000.00716.95
8.0.230.0030.00316.99
8.0.220.0030.00316.94
8.0.210.0040.00416.95
8.0.200.0040.00416.88
8.0.190.0040.00417.00
8.0.180.0030.00716.82
8.0.170.0060.00316.94
8.0.160.0000.00816.98
8.0.150.0000.00816.73
8.0.140.0040.00416.94
8.0.130.0030.00313.33
8.0.120.0000.00916.77
8.0.110.0000.00716.86
8.0.100.0020.00616.92
8.0.90.0030.00516.87
8.0.80.0060.00216.88
8.0.70.0040.00416.84
8.0.60.0030.00516.86
8.0.50.0010.00716.94
8.0.30.0080.00016.80
8.0.20.0040.00316.97
8.0.10.0050.00217.07
8.0.00.0040.00316.93
7.4.330.0000.00515.55
7.4.320.0050.00216.55
7.4.300.0030.00316.60
7.4.290.0030.00316.45
7.4.280.0000.00716.39
7.4.270.0000.00816.46
7.4.260.0030.00613.21
7.4.250.0040.00416.40
7.4.240.0070.00016.48
7.4.230.0050.00316.36
7.4.220.0070.00016.47
7.4.210.0000.00716.48
7.4.200.0020.00416.55
7.4.190.0040.00416.55
7.4.180.0030.00416.60
7.4.160.0020.00616.47
7.4.150.0000.00716.56
7.4.140.0040.00416.34
7.4.130.0030.00416.19
7.4.120.0050.00216.25
7.4.110.0040.00316.12
7.4.100.0050.00216.48
7.4.90.0030.00316.40
7.4.80.0030.00316.41
7.4.70.0030.00516.32
7.4.60.0020.00516.27
7.4.50.0020.00416.32
7.4.40.0030.00316.13
7.4.30.0000.00716.21
7.4.20.0040.00416.36
7.4.10.0060.00116.41
7.4.00.0020.00616.19
7.3.330.0000.00716.41
7.3.320.0040.00413.17
7.3.310.0000.00816.32
7.3.300.0030.00316.27
7.3.290.0060.00216.36
7.3.280.0040.00416.33
7.3.270.0040.00416.32
7.3.260.0030.00416.29
7.3.250.0020.00516.35
7.3.240.0020.00516.23
7.3.230.0030.00316.33
7.3.220.0050.00216.20
7.3.210.0050.00216.21
7.3.200.0050.00216.19
7.3.190.0050.00216.27
7.3.180.0050.00216.27
7.3.170.0030.00416.20
7.3.160.0040.00316.28
7.3.150.0030.00616.25
7.3.140.0040.00416.27
7.3.130.0020.00516.15
7.3.120.0020.00516.25
7.3.110.0020.00416.21
7.3.100.0000.00616.13
7.3.90.0050.00216.47
7.3.80.0040.00316.27
7.3.70.0000.00716.16
7.3.60.0020.00516.23
7.3.50.0050.00216.35
7.3.40.0030.00316.34
7.3.30.0050.00216.27
7.3.20.0050.00316.34
7.3.10.0030.00516.31
7.3.00.0040.00416.33
7.2.340.0110.00416.24
7.2.330.0030.01016.13
7.2.320.0120.00316.20
7.2.310.0150.00016.14
7.2.300.0110.00316.14
7.2.290.0070.00716.21
7.2.280.0080.00816.18
7.2.270.0110.00416.26
7.2.260.0110.00416.11
7.2.250.0090.00616.22
7.2.240.0120.00316.18
7.2.230.0080.00616.21
7.2.220.0140.00216.09
7.2.210.0140.00016.17
7.2.200.0110.00516.17
7.2.190.0140.00216.34
7.2.180.0110.00616.36
7.2.170.0170.00016.28
7.2.160.0070.00716.34
7.2.150.0050.01016.31
7.2.140.0040.01116.49
7.2.130.0120.00216.43
7.2.120.0140.00016.36
7.2.110.0140.00016.53
7.2.100.0100.00516.44
7.2.90.0150.00016.41
7.2.80.0140.00316.27
7.2.70.0070.00716.49
7.2.60.0090.00516.35
7.2.50.0110.00516.38
7.2.40.0140.00316.46
7.2.30.0120.00016.43
7.2.20.0080.00416.52
7.2.10.0100.00616.52
7.2.00.0100.00316.50
7.1.330.0080.00415.59
7.1.320.0090.00515.54
7.1.310.0100.00515.42
7.1.300.0060.00615.34
7.1.290.0050.00915.59
7.1.280.0100.00315.49
7.1.270.0060.00615.50
7.1.260.0040.00715.50
7.1.250.0110.00515.40
7.1.240.0140.00015.52
7.1.230.0080.00515.55
7.1.220.0090.00615.54
7.1.210.0090.00915.49
7.1.200.0120.00015.43
7.1.190.0050.00815.54
7.1.180.0170.00715.47
7.1.170.0060.00615.43
7.1.160.0040.00915.32
7.1.150.0050.01015.47
7.1.140.0080.00415.51
7.1.130.0050.00715.47
7.1.120.0060.00615.48
7.1.110.0160.00015.35
7.1.100.0120.00215.34
7.1.90.0120.00315.34
7.1.80.0100.00315.48
7.1.70.0120.00015.14
7.1.60.0050.01015.34
7.1.50.0100.00415.41
7.1.40.0070.00815.38
7.1.30.0110.00415.52
7.1.20.0090.00615.42
7.1.10.0150.00415.27
7.1.00.0120.00215.44
7.0.330.0030.00715.12
7.0.320.0110.00415.21
7.0.310.0080.00515.17
7.0.300.0040.00815.14
7.0.290.0090.00515.00
7.0.280.0070.00715.04
7.0.270.0090.00415.03
7.0.260.0060.00915.15
7.0.250.0110.00314.95
7.0.240.0110.00015.20
7.0.230.0100.00215.03
7.0.220.0100.00315.12
7.0.210.0120.00415.21
7.0.200.0140.00015.19
7.0.190.0100.00515.09
7.0.180.0140.00015.00
7.0.170.0090.01215.23
7.0.160.0110.00415.14
7.0.150.0230.01015.05
7.0.140.0110.00215.21
7.0.130.0090.00415.27
7.0.120.0040.00815.18
7.0.110.0070.00615.29
7.0.100.0090.00415.13
7.0.90.0100.00414.93
7.0.80.0090.00415.10
7.0.70.0140.00015.12
7.0.60.0100.00715.13
7.0.50.0090.00315.13
7.0.40.0160.00015.07
7.0.30.0100.00514.99
7.0.20.0120.00415.00
7.0.10.0130.00315.18
7.0.00.0120.00414.89
5.6.400.0080.00615.96
5.6.390.0070.00815.79
5.6.380.0100.00315.70
5.6.370.0130.00015.70
5.6.360.0090.00615.96
5.6.350.0130.00015.84
5.6.340.0130.00015.73
5.6.330.0080.00415.71
5.6.320.0060.00615.94
5.6.310.0090.00415.91
5.6.300.0050.00815.57
5.6.290.0140.00015.82
5.6.280.0120.00215.73
5.6.270.0100.00315.84
5.6.260.0090.00415.79
5.6.250.0090.00415.64
5.6.240.0090.00416.00
5.6.230.0100.00315.83
5.6.220.0100.00215.86
5.6.210.0040.00815.80
5.6.200.0060.00715.80
5.6.190.0120.00216.06
5.6.180.0120.00015.91
5.6.170.0070.00716.01
5.6.160.0090.00515.90
5.6.150.0030.01015.98
5.6.140.0100.00416.03
5.6.130.0030.01016.03
5.6.120.0040.00915.84
5.6.110.0090.00415.96
5.6.100.0130.00015.95
5.6.90.0070.00715.92
5.6.80.0080.00415.94
5.6.70.0130.00016.03
5.6.60.0130.00015.95
5.6.50.0090.00515.77
5.6.40.0100.00315.64
5.6.30.0130.00015.61
5.6.20.0080.00415.86
5.6.10.0100.00315.61
5.6.00.0040.00915.57
5.5.380.0060.00616.09
5.5.370.0090.00415.73
5.5.360.0000.01215.81
5.5.350.0070.00615.70
5.5.340.0060.00715.83
5.5.330.0110.00315.69
5.5.320.0070.00715.81
5.5.310.0040.00915.77
5.5.300.0100.00315.72
5.5.290.0090.00315.75
5.5.280.0000.01315.72
5.5.270.0070.00715.67
5.5.260.0070.00715.55
5.5.250.0110.00215.95
5.5.240.0050.00615.95
5.5.230.0100.00315.89
5.5.220.0080.00315.70
5.5.210.0080.00015.70
5.5.200.0000.00915.73
5.5.190.0020.00715.58
5.5.180.0130.00015.80
5.5.170.0030.01015.60
5.5.160.0040.00715.80
5.5.150.0080.00415.59
5.5.140.0100.00315.54
5.5.130.0040.00715.34
5.5.120.0070.00215.30
5.5.110.0060.00315.48
5.5.100.0070.00515.59
5.5.90.0040.00715.84
5.5.80.0070.00215.52
5.5.70.0000.00915.72
5.5.60.0030.00715.78
5.5.50.0090.00015.66
5.5.40.0070.00415.79
5.5.30.0060.00615.76
5.5.20.0090.00315.77
5.5.10.0000.01015.58
5.5.00.0090.00015.81
5.4.450.0050.00512.58
5.4.440.0080.00012.47
5.4.430.0060.00012.51
5.4.420.0040.00412.46
5.4.410.0040.00412.50
5.4.400.0040.00212.41
5.4.390.0040.00412.47
5.4.380.0060.00312.48
5.4.370.0040.00412.63
5.4.360.0090.00012.37
5.4.350.0090.00012.32
5.4.340.0050.00312.31
5.4.330.0040.00412.52
5.4.320.0040.00412.58
5.4.310.0040.00412.53
5.4.300.0090.00012.53
5.4.290.0090.00012.69
5.4.280.0060.00312.53
5.4.270.0100.00012.61
5.4.260.0000.00912.50
5.4.250.0000.01012.46
5.4.240.0060.00312.46
5.4.230.0030.00712.20
5.4.220.0110.00012.30
5.4.210.0080.00412.21
5.4.200.0000.01012.29
5.4.190.0060.00512.29
5.4.180.0100.00012.25
5.4.170.0070.00212.45
5.4.160.0030.00612.30
5.4.150.0090.00012.31
5.4.140.0090.00012.40
5.4.130.0060.00312.42
5.4.120.0070.00312.36
5.4.110.0070.00212.50
5.4.100.0100.00012.58
5.4.90.0090.00012.60
5.4.80.0040.00412.64
5.4.70.0030.00512.64
5.4.60.0000.00912.62
5.4.50.0080.00012.55
5.4.40.0080.00012.70
5.4.30.0060.00312.70
5.4.20.0030.00612.63
5.4.10.0080.00012.57
5.4.00.0030.00612.56
5.3.290.0070.00213.15
5.3.280.0050.00212.91
5.3.270.0050.00312.83
5.3.260.0060.00213.00
5.3.250.0070.00313.03
5.3.240.0000.00812.95
5.3.230.0000.00712.72
5.3.220.0050.00413.00
5.3.210.0050.00313.00
5.3.200.0000.00712.95
5.3.190.0020.00512.81
5.3.180.0050.00513.16
5.3.170.0050.00513.11
5.3.160.0040.00413.09
5.3.150.0000.00813.11
5.3.140.0040.00413.14
5.3.130.0060.00012.84
5.3.120.0030.00312.95
5.3.110.0030.00313.08
5.3.100.0000.00613.02
5.3.90.0060.00013.30
5.3.80.0030.00312.84
5.3.70.0000.00612.91
5.3.60.0000.00612.83
5.3.50.0060.00013.01
5.3.40.0060.00013.04
5.3.30.0000.00512.93
5.3.20.0000.00612.77
5.3.10.0030.00312.66
5.3.00.0030.00312.55
5.2.170.0080.00011.92
5.2.160.0080.00011.99
5.2.150.0000.00812.05
5.2.140.0040.00412.04
5.2.130.0070.00311.92
5.2.120.0080.00012.08
5.2.110.0060.00312.00
5.2.100.0080.00011.83
5.2.90.0070.00011.91
5.2.80.0080.00011.79
5.2.70.0040.00411.88
5.2.60.0070.00211.70
5.2.50.0000.00811.89
5.2.40.0040.00412.17
5.2.30.0080.00011.77
5.2.20.0060.00211.64
5.2.10.0000.00811.59
5.2.00.0000.00811.67
5.1.60.0000.00711.59
5.1.50.0030.00511.59
5.1.40.0050.00211.59
5.1.30.0050.00211.59
5.1.20.0040.00411.59
5.1.10.0070.00011.59
5.1.00.0000.00711.59
5.0.50.0060.00011.59
5.0.40.0000.00711.59
5.0.30.0030.00311.59
5.0.20.0060.00011.59
5.0.10.0030.00311.59
5.0.00.0050.00011.59
4.4.90.0000.00511.59
4.4.80.0020.00211.59
4.4.70.0040.00011.59
4.4.60.0040.00011.59
4.4.50.0030.00111.59
4.4.40.0020.00211.59
4.4.30.0040.00011.59
4.4.20.0020.00211.59
4.4.10.0000.00411.59
4.4.00.0020.00211.59
4.3.110.0040.00011.59
4.3.100.0000.00411.59
4.3.90.0020.00211.59
4.3.80.0030.00111.59
4.3.70.0000.00411.59
4.3.60.0000.00411.59
4.3.50.0000.00411.59
4.3.40.0000.00411.59
4.3.30.0030.00011.59
4.3.20.0000.00311.59
4.3.10.0030.00011.59
4.3.00.0040.00011.59

preferences:
39.09 ms | 402 KiB | 5 Q